src/hg/hgGenome/mainPage.c 1.28
1.28 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/hgGenome/mainPage.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGenome/mainPage.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -b -B -U 4 -r1.27 -r1.28
--- src/hg/hgGenome/mainPage.c 19 Aug 2009 23:00:16 -0000 1.27
+++ src/hg/hgGenome/mainPage.c 23 Sep 2009 18:42:17 -0000 1.28
@@ -481,9 +481,9 @@
result = TRUE;
}
errCatchEnd(errCatch);
if (errCatch->gotError)
- warn(errCatch->message->string);
+ warn("%s", errCatch->message->string);
errCatchFree(&errCatch);
}
else
{