Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
xmorph
xmorph-gcc_warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xmorph-gcc_warnings.patch of Package xmorph
--- gtkmorph/callbacks_warped.c +++ gtkmorph/callbacks_warped.c @@ -51,7 +51,7 @@ //extern movie_pixmaps_num ; //if(movie_pixmaps_num == 0) return FALSE ; - g_return_if_fail(pixmap); + g_return_val_if_fail(pixmap,FALSE); //g_return_if_fail(movie_pixmaps[0]); //g_(pixmap); --- gtkmorph/gtksettings.c +++ gtkmorph/gtksettings.c @@ -173,10 +173,10 @@ if (p) { GList* L= gtk_container_get_children(p); int len=g_slist_length (L); - g_return_if_fail(value>=0 && value< len ); + g_return_val_if_fail(value>=0 && value< len, FALSE); GSList* nth=g_slist_nth(L,value); GtkWidget* radio_menu_item= nth->data; - g_return_if_fail(radio_menu_item); + g_return_val_if_fail(radio_menu_item, FALSE); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (radio_menu_item),TRUE); } else --- gtkmorph/guide_text.c +++ gtkmorph/guide_text.c @@ -1,4 +1,5 @@ #include <gtk/gtk.h> +#include <string.h> #include "guide.h" #include "guide_text.h"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor