Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:D:DVD
shapelib
rpmlint-errors.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rpmlint-errors.patch of Package shapelib
Index: shapelib-1.3.0/contrib/shpcentrd.c =================================================================== --- shapelib-1.3.0.orig/contrib/shpcentrd.c +++ shapelib-1.3.0/contrib/shpcentrd.c @@ -156,4 +156,6 @@ int main( int argc, char ** argv ) DBFClose( old_DBF ); DBFClose( new_DBF ); printf ("\n"); + + return 0; } Index: shapelib-1.3.0/contrib/shpdata.c =================================================================== --- shapelib-1.3.0.orig/contrib/shpdata.c +++ shapelib-1.3.0/contrib/shpdata.c @@ -126,4 +126,6 @@ int main( int argc, char ** argv ) DBFClose( old_DBF ); printf ("\n"); + + return 0; } Index: shapelib-1.3.0/contrib/shpdxf.c =================================================================== --- shapelib-1.3.0.orig/contrib/shpdxf.c +++ shapelib-1.3.0/contrib/shpdxf.c @@ -331,6 +331,8 @@ main (int argc, char **argv) SHPClose (shp); DBFClose (dbf); fclose (dxf); + + return 0; } Index: shapelib-1.3.0/contrib/shpfix.c =================================================================== --- shapelib-1.3.0.orig/contrib/shpfix.c +++ shapelib-1.3.0/contrib/shpfix.c @@ -107,4 +107,6 @@ int main( int argc, char ** argv ) SHPClose ( hSHP ); SHPClose ( cSHP ); + + return 0; } Index: shapelib-1.3.0/contrib/shpinfo.c =================================================================== --- shapelib-1.3.0.orig/contrib/shpinfo.c +++ shapelib-1.3.0/contrib/shpinfo.c @@ -110,4 +110,6 @@ int main( int argc, char ** argv ) SHPClose( hSHP ); + + return 0; } Index: shapelib-1.3.0/contrib/shpproj.c =================================================================== --- shapelib-1.3.0.orig/contrib/shpproj.c +++ shapelib-1.3.0/contrib/shpproj.c @@ -255,6 +255,8 @@ int main( int argc, char ** argv ) DBFClose( old_DBF ); DBFClose( new_DBF ); printf ("\n"); + + return 0; } Index: shapelib-1.3.0/contrib/shpwkb.c =================================================================== --- shapelib-1.3.0.orig/contrib/shpwkb.c +++ shapelib-1.3.0/contrib/shpwkb.c @@ -120,4 +120,6 @@ int main( int argc, char ** argv ) if ( wkb_file ) fclose ( wkb_file ); printf ("\n"); + + return 0; } Index: shapelib-1.3.0/shputils.c =================================================================== --- shapelib-1.3.0.orig/shputils.c +++ shapelib-1.3.0/shputils.c @@ -897,6 +897,8 @@ int clip_boundary() if (i2 == 0) return(0); /** SKIP RECORD **/ else return(1); /** WRITE RECORD **/ } /** End CUT **/ + + return 0; /** SKIP RECORD **/ } Index: shapelib-1.3.0/contrib/dbfinfo.c =================================================================== --- shapelib-1.3.0.orig/contrib/dbfinfo.c +++ shapelib-1.3.0/contrib/dbfinfo.c @@ -29,7 +29,7 @@ int main( int argc, char ** argv ) DBFHandle hDBF; int *panWidth, i, iRecord; char szFormat[32], szField[1024]; - char ftype[15], cTitle[32], nTitle[32]; + char ftype[20], cTitle[32], nTitle[32]; int nWidth, nDecimals; int cnWidth, cnDecimals; DBFHandle cDBF; Index: shapelib-1.3.0/contrib/shpgeo.c =================================================================== --- shapelib-1.3.0.orig/contrib/shpgeo.c +++ shapelib-1.3.0/contrib/shpgeo.c @@ -339,11 +339,12 @@ int obj_storage = 0; int need_swap = 0, my_order, GeoType; int use_Z = 0; int use_M = 0; +void* ptr; need_swap = 1; need_swap = ((char*) (&need_swap))[0]; - realloc (stream_obj, obj_storage ); + ptr = realloc (stream_obj, obj_storage ); if ( need_swap ) {
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