Red Hat Bugzilla – Bug 158159
2 * missing return statements
Last modified: 2007-11-30 17:11:06 EST
Description of problem:
I just tried to compile package yelp-2.9.3-6 from Redhat
Fedora Core development tree with the most excellent Intel C
The compiler said
yelp-gecko-utils.cpp(211): warning #1011: missing return statement at end of
non-void function "yelp_gecko_copy_selection"
The source code is
extern "C" gboolean
yelp_gecko_copy_selection (GtkMozEmbed *embed)
gtk_moz_embed_get_nsIWebBrowser (embed, getter_AddRefs(webBrowser));
nsCOMPtr<nsIClipboardCommands> clip (do_GetInterface(webBrowser));
NS_ENSURE_TRUE (clip, NS_ERROR_FAILURE);
Suggest add return statement to the end of the routine.
yelp-gecko-utils.cpp(224): warning #1011: missing return statement at end of
non-void function "yelp_gecko_select_all"
Same thing again.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
These problems don't seem to be an issue anymore. Closing...
>These problems don't seem to be an issue anymore.
Does this mean that you have checked the source code manually,
and can verify that these two problems no longer exist ?
Yes. Those functions don't exist anymore as far as I can see.