src/hg/protein/kgXref2/kgXref2.c 1.7
1.7 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/kgXref2/kgXref2.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/protein/kgXref2/kgXref2.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 4 -r1.6 -r1.7
--- src/hg/protein/kgXref2/kgXref2.c 3 Sep 2008 19:20:58 -0000 1.6
+++ src/hg/protein/kgXref2/kgXref2.c 23 Sep 2009 18:42:24 -0000 1.7
@@ -194,8 +194,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);
}