Bug 136790

Summary: gnushogi-1.3-373: undefined C code
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Anna Maresova <anicka>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2005-12-02 22:35:01 UTC
I just tried to compile package gnushogi-1.3-373 with a prerelease of the
GNU C compiler version 4.1. It said

eval.c:1209: warning: operation on `ds' may be undefined

The source code is

    ds += (ds = -fv1[HUNGP]);

I agree with the compiler - this code seems to be undefined. 

Suggest code rework. BTW, the email address of the author [
mutz@fmi.uni-passau.de ] seems to be broken
Comment 1 Anna Maresova 2005-12-07 10:35:06 UTC
fixed