GNOME Bugzilla – Bug 308551
uninitialized variables in the smooth engine
Last modified: 2005-07-09 13:11:10 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:
Fixed in CVS