src/hg/encode/hgEncodeVocab/hgEncodeVocab.c 1.26
1.26 2009/09/23 18:42:16 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/encode/hgEncodeVocab/hgEncodeVocab.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/hgEncodeVocab/hgEncodeVocab.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -b -B -U 4 -r1.25 -r1.26
--- src/hg/encode/hgEncodeVocab/hgEncodeVocab.c 31 Aug 2009 23:38:53 -0000 1.25
+++ src/hg/encode/hgEncodeVocab/hgEncodeVocab.c 23 Sep 2009 18:42:16 -0000 1.26
@@ -129,9 +129,9 @@
{
*u++ = 0;
printf("<A STYLE=\"text-decoration:none\" TARGET=_BLANK HREF=%s>", u);
}
- printf(s);
+ fputs(s, stdout);
if (u)
printf("</A>");
puts("</TD>\n");
}