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/wikiTrack.c src/hg/lib/wikiTrack.c
index de8e71d..8ea5244 100644
--- src/hg/lib/wikiTrack.c
+++ src/hg/lib/wikiTrack.c
@@ -746,47 +746,45 @@
 /* these new comments are the first thing on the page */
 dyStringPrintf(content, "''comments added: ~~~~''");
 if (extraTag)
     dyStringPrintf(content, " '''%s'''", extraTag);
 dyStringPrintf(content, "\n\n%s<BR>\n", comments);
 
 /* might want to recreate the header if it has gone missing */
 /* decide on whether adding comments to existing text, or starting a
  *	new article from scratch.
  *	This function could be extended to actually checking the current
  *	contents to see if the "Category:" or "created:" lines have been
  *	removed, and then restore them.
  */
 if (!(wpTextbox1->curVal && (strlen(wpTextbox1->curVal) > 2)))
     {
-    boolean recreateHeader = FALSE;
     char position[128];
     char *newPos;
     char *userSignature;
     /* In the case where this is a restoration of the header lines,
      *	may be a different creator than this user adding comments.
      *	So, get the header line correct to represent the actual creator.
      */
     if (sameWord(userName, item->owner))
 	userSignature = cloneString("~~~~");
     else
 	{
 	struct dyString *tt = newDyString(1024);
 	dyStringPrintf(tt, "[[User:%s|%s]] ", item->owner, item->owner);
 	dyStringPrintf(tt, "%s", item->creationDate);
 	userSignature = dyStringCannibalize(&tt);
-	recreateHeader = TRUE;
 	}
     safef(position, 128, "%s:%d-%d", seqName, winStart+1, winEnd);
     newPos = addCommasToPos(database, position);
     
     if (extraHeader)
 	{
 	dyStringPrintf(content, "%s\n%s\n",
 	    category, extraHeader);
 	}
     else
 	{
 	dyStringPrintf(content, "%s\n"
 "[http://%s/cgi-bin/hgTracks?db=%s&wikiTrack=pack&position=%s:%d-%d %s %s]"
 	"&nbsp;&nbsp;<B>'%s'</B>&nbsp;&nbsp;",
 	category,