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/ggCluster.c src/hg/lib/ggCluster.c index 9de6dc4..9032e44 100644 --- src/hg/lib/ggCluster.c +++ src/hg/lib/ggCluster.c @@ -455,31 +455,31 @@ *pDaList = NULL; } void maRefFree(struct maRef **pMaRef) { struct maRef *ma; if ((ma = *pMaRef) != NULL) { ggMrnaAliFreeList(&ma->ma); } } void maRefFreeList(struct maRef **pMaRef) { struct maRef *ma, *next; -for(ma = *pMaRef; ma != NULL; ma = ma->next) +for(ma = *pMaRef; ma != NULL; ma = next) { next = ma->next; maRefFree(&ma); } *pMaRef = NULL; } static void freeMrnaCluster(struct ggMrnaCluster **pMc) /* Free a single mrna cluster */ { struct ggMrnaCluster *mc; if ((mc = *pMc) != NULL) { slFreeList(&mc->refList);