d261f558e0a577ee269fe55215505668cdcb6f2a markd Wed Jul 7 07:09:11 2021 -0700 Address several cases of possible uninitialized variables detected by -O3. None of these appear to be actually bugs due to the flow of the code diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index be91aba..0ce590e 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -3674,31 +3674,31 @@ // refGene is out of order because of genbank continuous loading // also, using where chrom= causes it to use indexes which disturb order returned. sqlSafefAppend(query, sizeof(query), " order by chrom, txStart"); sr = sqlGetResult(conn, query); char chrom[256] = ""; int start = -1; int end = -1; char lastChrom[256] = ""; int lastStart = -1; int lastEnd = -1; int chromSize = -1; char lastChromSizeChrom[256] = ""; boolean firstTime = TRUE; boolean isEOF = FALSE; -struct kce *kceList = NULL, *bestKce, *prevKce; +struct kce *kceList = NULL, *bestKce = NULL, *prevKce = NULL; struct genePred *gene = NULL; while (1) { while(1) // get input if possible { boolean readIt = FALSE; if (!gene) readIt = TRUE; if (isEOF) readIt = FALSE; if (readIt) { row = sqlNextRow(sr);