d6c8da3c30e51a633791c74318b4e42d5d76bd4d braney Tue Jun 21 11:20:34 2016 -0700 a couple of changes to bigMaf support (no parallel load because of SQL access) and initialize some variables to avoid garbage memmory accesses. diff --git src/hg/lib/hui.c src/hg/lib/hui.c index edea38d..6503398 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -6180,30 +6180,33 @@ { int speciesCt = 0; char *speciesGroup = trackDbSetting(tdb, SPECIES_GROUP_VAR); char *speciesUseFile = trackDbSetting(tdb, SPECIES_USE_FILE); char *speciesOrder = trackDbSetting(tdb, SPECIES_ORDER_VAR); #define MAX_SP_SIZE 2000 #define MAX_GROUPS 20 char sGroup[MAX_SP_SIZE]; //Ochar *groups[20]; struct wigMafSpecies *wmSpecies, *wmSpeciesList = NULL; int group; int i; char *species[MAX_SP_SIZE]; char option[MAX_SP_SIZE]; +*list = NULL; +*groupCt = 0; + /* determine species and groups for pairwise -- create checkboxes */ if (speciesOrder == NULL && speciesGroup == NULL && speciesUseFile == NULL) { if (isCustomTrack(tdb->track)) return NULL; errAbort("Track %s missing required trackDb setting: speciesOrder, speciesGroups, or speciesUseFile", tdb->track); } char **groups = needMem(MAX_GROUPS * sizeof (char *)); *groupCt = 1; if (speciesGroup) *groupCt = chopByWhite(speciesGroup, groups, MAX_GROUPS); if (speciesUseFile) {