13b4184b2e434953f411f20dd87104f99b550275 hiram Fri Oct 2 11:53:27 2015 -0700 fixup gcc warnings for -Wunused-but-set-variable refs #16121 diff --git src/hg/lib/web.c src/hg/lib/web.c index efdf7de..a0f8f4c 100644 --- src/hg/lib/web.c +++ src/hg/lib/web.c @@ -128,34 +128,34 @@ getDbAndGenome(theCart, &db, &theGenome, NULL); genomeEnc = cgiEncode(theGenome); safef(uiState, sizeof(uiState), "?%s=%s&%s=%s&%s=%s", orgCgiName, genomeEnc, dbCgiName, db, cartSessionVarName(), cartSessionId(theCart)); } else { uiState[0] = 0; uiState[1] = 0; } if (db == NULL) db = hDefaultDb(); -boolean dbIsFound = hDbExists(db); -boolean haveBlat = FALSE; -if (dbIsFound) - haveBlat = hIsBlatIndexedDatabase(db); +// boolean dbIsFound = hDbExists(db); +// boolean haveBlat = FALSE; unfortunately this feature has disappeared +// if (dbIsFound) this needs to be resurrected in the new menu +// haveBlat = hIsBlatIndexedDatabase(db); bar system in menuBar() if (scriptName == NULL) scriptName = cloneString(""); /* don't output two headers */ if(webHeadAlreadyOutputed) return; if (sameString(cgiUsualString("action",""),"encodeReleaseLog") || rStringIn("EncodeDataVersions", scriptName)) isEncode = TRUE; /* Preamble. */ dnaUtilOpen(); if (withHttpHeader)