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 307143 - random return value fix
random return value fix
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
CVS head
Other Linux
: Normal normal
: 0.95
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-10 12:54 UTC by Stanislav Brabec
Modified: 2005-06-10 13:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
dia-random-return.patch (177 bytes, patch)
2005-06-10 12:54 UTC, Stanislav Brabec
committed Details | Review

Description Stanislav Brabec 2005-06-10 12:54:26 UTC
Attached patches fixes random return value found by GCC 4.

Note that this patch needs review. Maybe it was intended to return something else.
Comment 1 Stanislav Brabec 2005-06-10 12:54:49 UTC
Created attachment 47542 [details] [review]
dia-random-return.patch
Comment 2 Hans Breuer 2005-06-10 13:49:47 UTC
Thanks, applied.

2005-06-10  Hans Breuer  <hans@breuer.org>

	* app/interface.c(toolbox_delete): avoid random return value.
	Patch from Stanislaw Brabec, fixes bug #307143