3932f706eeb2d0b4722d35df64b39b0755b92861 hiram Tue Jan 14 10:55:27 2014 -0800 remove useless self assignment refs #12209 diff --git src/hg/lib/ggGraph.c src/hg/lib/ggGraph.c index c02047b..129d464 100644 --- src/hg/lib/ggGraph.c +++ src/hg/lib/ggGraph.c @@ -479,31 +479,30 @@ int startIx, int endIx, int start2Ix, int end2Ix) /** Check to see if the mRNAs contained in the edges defined by these vertexes overlap. */ { struct ggEvidence *edge1 = gg->evidence[startIx][endIx]; struct ggEvidence *edge2 = gg->evidence[start2Ix][end2Ix]; struct ggEvidence *ev1 = NULL, *ev2 = NULL; struct ggAliInfo *ai1 = NULL; struct ggAliInfo *ai2 = NULL; char buff[256]; boolean overlap = FALSE; for(ev1 = edge1; ev1 != NULL; ev1 = ev1->next) { safef(buff, sizeof(buff), "%s", gg->mrnaRefs[ev1->id]); ai1 = hashMustFindVal(aliHash, buff); - ai1 = ai1; for(ev2 = edge2; ev2 != NULL; ev2 = ev2->next) { safef(buff, sizeof(buff), "%s", gg->mrnaRefs[ev2->id]); ai2 = hashMustFindVal(aliHash, buff); if(ggAliInfoOverlap(gg->vertices, ai1, ai2, startIx, endIx, start2Ix, end2Ix )) return TRUE; } } return overlap; } void getStartEdgesOverlapping(struct geneGraph *gg, struct hash *mRnaAli, int softStartIx, int endIx, enum ggVertexType startType, int **oIndex, int *oCount) /** Loop through all the edges looking for ones that overlap