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 363312 - compiler warning in panel-recent.c
compiler warning in panel-recent.c
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.16.x
Other Linux
: Normal minor
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-19 02:53 UTC by JP Rosevear
Modified: 2006-12-04 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
warning patch (281 bytes, patch)
2006-10-19 02:54 UTC, JP Rosevear
accepted-commit_now Details | Review

Description JP Rosevear 2006-10-19 02:53:41 UTC
Use of uninitialized variable in panel-recent.c
Comment 1 JP Rosevear 2006-10-19 02:54:34 UTC
Created attachment 74991 [details] [review]
warning patch

Patch to fix warning.
Comment 2 Vincent Untz 2006-10-19 19:37:26 UTC
We're getting the value with 
  g_object_get (manager, "size", &size, NULL);
But we can silent the warning. I'd prefer if you could just change the patch to have "size = 0;" before the g_object_get call.

Thanks!
Comment 3 Kjartan Maraas 2006-12-04 14:25:22 UTC
I commited this with the change you suggested.