Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
netpbm
netpbm-gcc-warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netpbm-gcc-warnings.patch of Package netpbm
Index: netpbm-10.75.1/converter/other/pngx.c =================================================================== --- netpbm-10.75.1.orig/converter/other/pngx.c 2016-08-22 11:03:31.641785020 +0200 +++ netpbm-10.75.1/converter/other/pngx.c 2016-08-22 17:36:34.165268951 +0200 @@ -342,6 +342,7 @@ pngx_srgbIntentDesc(pngx_srgbIntent cons case PNGX_ABSOLUTE_COLORIMETRIC: return "ABSOLUTE_COLORIMETRIC"; } assert(false); + return NULL; } @@ -357,6 +358,7 @@ const libpngSrgbIntentCode(pngx_srgbInte } assert(false); /* All cases above return */ + return -1; } Index: netpbm-10.75.1/editor/pbmreduce.c =================================================================== --- netpbm-10.75.1.orig/editor/pbmreduce.c 2016-08-22 17:36:34.141268538 +0200 +++ netpbm-10.75.1/editor/pbmreduce.c 2016-08-22 17:37:35.838325686 +0200 @@ -202,6 +202,9 @@ oppositeDir(enum Direction const arg) { case RIGHT_TO_LEFT: return LEFT_TO_RIGHT; } assert(false); /* All cases handled above */ + + /* make gcc happy */ + return RIGHT_TO_LEFT; }
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