0999158088e0fb3715eb27703c8c4f7123d77144 galt Mon Sep 21 16:51:20 2015 -0700 added GNU-C attributes to function declarations in src/inc, src/hg/inc, and some CGIs so that the compiler can catch errors where the parameter list given by the user does not match their format string. These var-args functions are like printf. diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 2f3f76b..e89235c 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -18983,31 +18983,31 @@ { printBand(seqName, start, end, TRUE); printf("</TABLE>\n"); printf("<P><HR ALIGN=\"CENTER\"></P>\n"); } if (lfs->score == 1000) { printf("<H4>This is the only location found for %s</H4>\n",clone); } else { //printOtherLFS(clone, table, start, end); } safef(title, sizeof title, "Genomic alignments of %s:", lfLabel); - webNewSection(title); + webNewSection("%s",title); for (i = 0; i < lfs->lfCount; i++) { sqlFreeResult(&sr); hFindSplitTable(database, seqName, lfs->pslTable, pslTable, &hasBin); if (isEmpty(pslTable) && trackDbSetting(tdb, "lfPslTable")) safecpy(pslTable, sizeof(pslTable), trackDbSetting(tdb, "lfPslTable")); sqlSafef(query, sizeof query, "SELECT * FROM %s WHERE qName = '%s'", pslTable, lfs->lfNames[i]); sr = sqlMustGetResult(conn, query); while ((row1 = sqlNextRow(sr)) != NULL) { psl = pslLoad(row1+hasBin);