GNOME Bugzilla – Bug 165452
random values returned from functions
Last modified: 2005-02-03 14:57:14 UTC
control reaches end of non-void functions
Created attachment 36617 [details] [review] Proposed fix.
Looks like a worthy patch. How did you catch these? (what compiler flag)
Comment on attachment 36617 [details] [review] Proposed fix. the return values for the virtual functions (i.e. the ones that use func pointers) are not right. We should be returning, for instance, if (klass->predict) return (* klass->predict) (complete, num_predictions);
Created attachment 36671 [details] [review] my version of the patch, against HEAD
Comment on attachment 36671 [details] [review] my version of the patch, against HEAD Looks good. Thanks both.