src/hg/protein/kgXref/kgXref.c 1.8
1.8 2009/09/23 18:42:24 angie
Fixed compiler warnings from gcc 4.3.3, mostly about system calls whose return values weren't checked and non-literal format strings with no args.
Index: src/hg/protein/kgXref/kgXref.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/protein/kgXref/kgXref.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/hg/protein/kgXref/kgXref.c 3 Sep 2008 19:20:58 -0000 1.7
+++ src/hg/protein/kgXref/kgXref.c 23 Sep 2009 18:42:24 -0000 1.8
@@ -165,8 +165,8 @@
fclose(o1);
hFreeConn(&conn);
hFreeConn(&conn2);
hFreeConn(&conn3);
- system("cat j.dat|sort|uniq >kgXref.tab");
- system("rm j.dat");
+ mustSystem("cat j.dat|sort|uniq >kgXref.tab");
+ mustSystem("rm j.dat");
return(0);
}