Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
netpbm
netpbm-gcc-warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netpbm-gcc-warnings.patch of Package netpbm
Index: netpbm-11.7.0/converter/other/pngx.c =================================================================== --- netpbm-11.7.0.orig/converter/other/pngx.c +++ netpbm-11.7.0/converter/other/pngx.c @@ -370,6 +370,7 @@ pngx_srgbIntentDesc(pngx_srgbIntent cons case PNGX_ABSOLUTE_COLORIMETRIC: return "ABSOLUTE_COLORIMETRIC"; } assert(false); + return NULL; } @@ -385,6 +386,7 @@ const libpngSrgbIntentCode(pngx_srgbInte } assert(false); /* All cases above return */ + return -1; } Index: netpbm-11.7.0/lib/libpm.c =================================================================== --- netpbm-11.7.0.orig/lib/libpm.c +++ netpbm-11.7.0/lib/libpm.c @@ -440,6 +440,7 @@ pm_maxvaltobits(int const maxval) { pm_error("maxval of %d is too large!", maxval); assert(false); + return 0; } Index: netpbm-11.7.0/lib/libpnm3.c =================================================================== --- netpbm-11.7.0.orig/lib/libpnm3.c +++ netpbm-11.7.0/lib/libpnm3.c @@ -446,6 +446,8 @@ pnm_bittoxel(bit const inputBit, case PBM_WHITE: return pnm_whitexel(maxval, PBM_TYPE); break; default: assert(false); + pixel const black = {0, 0, 0}; + return black; } }
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