Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
motif.27027
warn.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File warn.patch of Package motif.27027
Index: b/demos/programs/ColorSel/util-c.c =================================================================== --- a/demos/programs/ColorSel/util-c.c +++ b/demos/programs/ColorSel/util-c.c @@ -3468,6 +3468,8 @@ GRA(xpmData *, mdata) c = xpmGetC(mdata); } return (c); + default: + abort(); } } @@ -3489,6 +3491,8 @@ GRA(xpmData *, mdata) /* if not natural XPM2 */ mdata->InsideString = !mdata->InsideString; return (ungetc(c, mdata->stream.file)); + default: + abort(); } } Index: b/demos/programs/Ext18List/util-c.c =================================================================== --- a/demos/programs/Ext18List/util-c.c +++ b/demos/programs/Ext18List/util-c.c @@ -3468,6 +3468,8 @@ GRA(xpmData *, mdata) c = xpmGetC(mdata); } return (c); + default: + abort(); } } @@ -3489,6 +3491,8 @@ GRA(xpmData *, mdata) /* if not natural XPM2 */ mdata->InsideString = !mdata->InsideString; return (ungetc(c, mdata->stream.file)); + default: + abort(); } } Index: b/demos/programs/FontSel/fontsel.c =================================================================== --- a/demos/programs/FontSel/fontsel.c +++ b/demos/programs/FontSel/fontsel.c @@ -121,5 +121,6 @@ char **argv; XtRealizeWidget(top); XtAppMainLoop(app); + return 0; } Index: b/demos/programs/IconB/misc.c =================================================================== --- a/demos/programs/IconB/misc.c +++ b/demos/programs/IconB/misc.c @@ -3440,6 +3440,8 @@ GRA(xpmData *, mdata) c = xpmGetC(mdata); } return (c); + default: + abort(); } } @@ -3461,6 +3463,8 @@ GRA(xpmData *, mdata) /* if not natural XPM2 */ mdata->InsideString = !mdata->InsideString; return (ungetc(c, mdata->stream.file)); + default: + abort(); } } Index: b/demos/programs/Tree/bxutil-c.c =================================================================== --- a/demos/programs/Tree/bxutil-c.c +++ b/demos/programs/Tree/bxutil-c.c @@ -3469,6 +3469,7 @@ GRA(xpmData *, mdata) } return (c); } + abort(); } @@ -3490,6 +3491,7 @@ GRA(xpmData *, mdata) mdata->InsideString = !mdata->InsideString; return (ungetc(c, mdata->stream.file)); } + abort(); } /* Index: b/lib/Xm/XmString.c =================================================================== --- a/lib/Xm/XmString.c +++ b/lib/Xm/XmString.c @@ -8003,8 +8003,7 @@ XmStringParseText(XtPointer text, case XmMULTIBYTE_TEXT: /* Non-NULL values (except _MOTIF_DEFAULT_LOCALE) are not accepted in Motif 2.0. */ - if (tag != NULL && !(tag == _MOTIF_DEFAULT_LOCALE || - strcmp(tag, _MOTIF_DEFAULT_LOCALE) == 0)) + if (tag != NULL && !(strcmp(tag, _MOTIF_DEFAULT_LOCALE) == 0)) { _XmProcessUnlock(); return NULL; @@ -8617,8 +8616,7 @@ XmStringComponentCreate(XmStringComponen _XmProcessUnlock(); return NULL; } - if ((value != _MOTIF_DEFAULT_LOCALE) && - (strcmp((char*) value, _MOTIF_DEFAULT_LOCALE) != 0)) { + if ((strcmp((char*) value, _MOTIF_DEFAULT_LOCALE) != 0)) { _XmProcessUnlock(); return NULL; } Index: b/tools/wml/wmlresolve.c =================================================================== --- a/tools/wml/wmlresolve.c +++ b/tools/wml/wmlresolve.c @@ -56,6 +56,7 @@ static char rcsid[] = "$XConsortium: wml #if defined(__STDC__) #include <stdlib.h> +#include <string.h> #endif #include <stdio.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