Bug 163561 - control-center-1.4.0.5-85: undefined C code
Summary: control-center-1.4.0.5-85: undefined C code
Status: RESOLVED DUPLICATE of bug 158409
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SuSE Linux 10.1
: P5 - None : Minor
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-04 20:24 UTC by David Binderman
Modified: 2006-04-11 01:41 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 2006-04-04 20:24:05 UTC
I just tried to compile package control-center-1.4.0.5-85 with the GNU C compiler.

It said

render-background.c:130: warning: operation on "pxiels" may be undefined

The source code is

	line[i] = *(pixels++) + *(pixels++) + *(pixels++);

I agree with the compiler. Suggest new code

	line[i] = pixels[ 0] + pixels[ 1] + pixels[ 2];
	pixels += 3;
Comment 1 JP Rosevear 2006-04-11 01:41:16 UTC

*** This bug has been marked as a duplicate of 158409 ***