src/hg/hgPcr/hgPcr.c 1.29
1.29 2009/09/23 18:42:17 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/hgPcr/hgPcr.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgPcr/hgPcr.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -b -B -U 4 -r1.28 -r1.29
--- src/hg/hgPcr/hgPcr.c 3 Dec 2008 18:57:11 -0000 1.28
+++ src/hg/hgPcr/hgPcr.c 23 Sep 2009 18:42:17 -0000 1.29
@@ -545,9 +545,9 @@
ok = TRUE;
}
errCatchEnd(errCatch);
if (errCatch->gotError)
- warn(errCatch->message->string);
+ warn("%s", errCatch->message->string);
errCatchFree(&errCatch);
if (flipReverse)
reverseComplement(rPrimer, strlen(rPrimer));
webNewSection("Primer Melting Temperatures");