After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 308551 - uninitialized variables in the smooth engine
uninitialized variables in the smooth engine
Status: RESOLVED FIXED
Product: gtk-engines
Classification: Deprecated
Component: general
2.6.x
Other All
: Normal normal
: ---
Assigned To: gtk-engines maintainers
gtk-engines maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-21 17:22 UTC by Matthias Clasen
Modified: 2005-07-09 13:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Matthias Clasen 2005-06-21 17:22:17 UTC
Please describe the problem:
This was originally reported in
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159284


I just tried to compile package gtk2-engines-2.6.3-2 from Redhat
Fedora Core development tree with the most excellent Intel C compiler.

The compiler said

1.

./src/engine/smooth_gtk2_drawing.c(983): remark #592: variable "base" is used
before its value is set

The source code is

	SmoothDrawLineBevel (line_bevel, Canvas, base, X, X + Width, Y + (Height / 2),
TRUE);

Suggest initialise local variable "base" before first use.

2.

./src/engine/smooth_gtk2_drawing.c(1814): remark #592: variable "base" is used
before its value is set



Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Thomas Wood 2005-07-09 13:11:10 UTC
Fixed in CVS