Bug 136791 - geki2-2.0.3-358: undefined C code
Summary: geki2-2.0.3-358: undefined C code
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: All SuSE Linux 10.0
: P5 - None : Minor
Target Milestone: ---
Assignee: Philipp Thomas
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-02 22:37 UTC by David Binderman
Modified: 2006-02-08 10:52 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2005-12-02 22:37:32 UTC
I just tried to compile package geki2-2.0.3-358 with a prerelease of the
GNU C compiler version 4.1. It said

1.

opening.c:122: warning: operation on "sel" may be undefined

The source code is

          sel = (++ sel) % 5;

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

Suggest new code 

	sel = (sel + 1) % 5;

2.

opening.c:212: warning: operation on "sel" may be undefined

Duplicate.
Comment 1 Philipp Thomas 2006-02-08 10:52:10 UTC
Fixed for 10.1