a74fbb41fd6b0207a3950a8991725f315f86853e kent Mon Jul 2 15:10:16 2018 -0700 Fixing compiler error message about unitialized variable. diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index 0fb88e6..9dddd5d 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -2666,31 +2666,31 @@ if (s > winEnd) // since the rest will also be outside the window break; } slFreeList(&exonList); } static struct window *makeMergedWindowList(struct window *windows) /* Make a copy of the windows list, merging nearby regions on the same chrom and which are within some limit (1MB?) of each other. */ { int mergeLimit = 1024*1024; struct window *w = windows; struct window *resultList = NULL; -struct window *mergedW; +struct window *mergedW = NULL; if (!windows) errAbort("Unexpected error: windows list NULL in makeMergedWindowList()"); boolean doNew = TRUE; while(TRUE) { if (doNew) { doNew = FALSE; AllocVar(mergedW); mergedW->chromName = w->chromName; mergedW->winStart = w->winStart; mergedW->winEnd = w->winEnd; w = w->next; } boolean nearby = FALSE;