From: Axel R. <ro...@us...> - 2011-04-12 14:20:19
|
Update of /cvsroot/sdif/SDIF/tools In directory vz-cvs-3.sog:/tmp/cvs-serv5703/SDIF/tools Modified Files: querysdif.c Log Message: Removed unused variable, and fixed return code to be nonzero in case file is empty. Index: querysdif.c =================================================================== RCS file: /cvsroot/sdif/SDIF/tools/querysdif.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** querysdif.c 10 Aug 2009 16:24:24 -0000 1.16 --- querysdif.c 12 Apr 2011 14:20:17 -0000 1.17 *************** *** 15,18 **** --- 15,21 ---- $Log$ + Revision 1.17 2011/04/12 14:20:17 roebel + Removed unused variable, and fixed return code to be nonzero in case file is empty. + Revision 1.16 2009/08/10 16:24:24 diemo - added flags to switch header, nvt, and type def printing *************** *** 192,196 **** #endif { - SdifFileT *in; SdifQueryTreeT *sigs; int nread, i, m; --- 195,198 ---- *************** *** 321,324 **** SdifGenKill (); ! return nread > 0; } --- 323,326 ---- SdifGenKill (); ! return nread == 0; } |