30531995ae6effbd9dcccab4729badd577ed7501 hiram Wed Nov 25 10:25:35 2015 -0800 curMap is actually unused and unnecessary fixup gcc warnings for -Wunused-but-set-variable refs #16121 diff --git src/hg/hgTracks/imageV2.c src/hg/hgTracks/imageV2.c index 223022b..4dfb61f 100644 --- src/hg/hgTracks/imageV2.c +++ src/hg/hgTracks/imageV2.c @@ -5,35 +5,31 @@ #include "common.h" #include "hPrint.h" #include "chromInfo.h" #include "hdb.h" #include "hui.h" #include "jsHelper.h" #include "cheapcgi.h" #include "htmshell.h" #include "imageV2.h" #include "hgTracks.h" #include "hgConfig.h" #include "regexHelper.h" struct imgBox *theImgBox = NULL; // Make this global for now to avoid huge rewrite -//struct image *theOneImg = NULL; // Make this global for now to avoid huge rewrite struct imgTrack *curImgTrack = NULL; // Make this global for now to avoid huge rewrite -//struct imgSlice *curSlice = NULL; // Make this global for now to avoid huge rewrite -//struct mapSet *curMap = NULL; // Make this global for now to avoid huge rewrite -//struct mapItem *curMapItem = NULL; // Make this global for now to avoid huge rewrite ///////////////////////// // FLAT TRACKS // A simplistic way of flattening the track list before building the image // NOTE: Strategy is NOT to use imgBox->imgTracks, since this should be independednt of imageV2 ///////////////////////// void flatTracksAdd(struct flatTracks **flatTracks,struct track *track,struct cart *cart) // Adds one track into the flatTracks list { struct flatTracks *flatTrack; AllocVar(flatTrack); flatTrack->track = track; char var[256]; // The whole reason to do this is to reorder tracks/subtracks in the image! safef(var,sizeof(var),"%s_%s",track->tdb->track,IMG_ORDER_VAR); flatTrack->order = cartUsualInt(cart, var,IMG_ANYORDER);