src/hg/makeDb/hgMrnaRefseq/hgMrnaRefseq.c 1.5

1.5 2009/09/23 18:42:22 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/makeDb/hgMrnaRefseq/hgMrnaRefseq.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/makeDb/hgMrnaRefseq/hgMrnaRefseq.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 4 -r1.4 -r1.5
--- src/hg/makeDb/hgMrnaRefseq/hgMrnaRefseq.c	3 Sep 2008 19:19:45 -0000	1.4
+++ src/hg/makeDb/hgMrnaRefseq/hgMrnaRefseq.c	23 Sep 2009 18:42:22 -0000	1.5
@@ -90,10 +90,10 @@
 hFreeConn(&conn);
 hFreeConn(&conn2);
 sqlFreeResult(&sr2);
 
-system("cat j.dat|sort|uniq >mrnaRefseq.tab");
+mustSystem("cat j.dat|sort|uniq >mrnaRefseq.tab");
 printf("mrnaRefseq.tab created.\n");
-system("rm j.dat");
+mustSystem("rm j.dat");
 return(0);
 }