26cebe44005d181116b3a85bc8d999aadbd606dc angie Mon Mar 14 16:10:48 2011 -0700 Fixing Ubuntu gcc warnings by using puts instead of printf-without-format. diff --git src/hg/hgTracks/searchTracks.c src/hg/hgTracks/searchTracks.c index b45bb32..d13ff13 100644 --- src/hg/hgTracks/searchTracks.c +++ src/hg/hgTracks/searchTracks.c @@ -738,31 +738,31 @@ int formatCount = getFormatTypes(&formatLabels, &formatTypes); cgiMakeDropListFull(TRACK_SEARCH_ON_TYPE, formatLabels, formatTypes, formatCount, typeSearch, "class='typeSearch' style='min-width:40%; font-size:.9em;'"); hPrintf("</td></tr>\n"); if (selectedTab==advancedTab && typeSearch) searchTermsExist = TRUE; // mdb selects struct slPair *mdbSelects = NULL; if(metaDbExists) { struct slPair *mdbVars = mdbVarsRelevant(conn); mdbSelects = mdbSelectPairs(cart,selectedTab, mdbVars); char *output = mdbSelectsHtmlRows(conn,mdbSelects,mdbVars,cols); if (output) { - printf(output); + puts(output); freeMem(output); } slPairFreeList(&mdbVars); } hPrintf("</table>\n"); hPrintf("<input type='submit' name='%s' id='searchSubmit' value='search' style='font-size:.8em;'>\n", TRACK_SEARCH); hPrintf("<input type='button' name='clear' value='clear' class='clear' style='font-size:.8em;' onclick='findTracksClear();'>\n"); hPrintf("<input type='submit' name='submit' value='cancel' class='cancel' style='font-size:.8em;'>\n"); //hPrintf("<a target='_blank' href='../goldenPath/help/trackSearch.html'>help</a>\n"); hPrintf("</div>\n"); #ifdef FILES_SEARCH // Files tab hPrintf("<div id='filesTab' style='width:inherit;'>\n"