3daabd5c0256b5a9c02e071d09ec6172d56a7b3d max Mon Feb 21 02:44:50 2022 -0800 tiny code fix to address new gcc warning which is justified, no redmine diff --git src/hg/hgTables/maf.c src/hg/hgTables/maf.c index efd6df3..7b5b2a8 100644 --- src/hg/hgTables/maf.c +++ src/hg/hgTables/maf.c @@ -62,31 +62,31 @@ struct sqlConnection *ctConn = NULL; struct sqlConnection *ctConn2 = NULL; struct customTrack *ct = NULL; struct hash *settings = track->settingsHash; char *mafFile = hashFindVal(settings, "mafFile"); if (isCustomTrack(table)) { ctConn = hAllocConn(CUSTOM_TRASH); ctConn2 = hAllocConn(CUSTOM_TRASH); ct = ctLookupName(table); if (mafFile == NULL) { /* this shouldn't happen */ - printf("cannot find custom track file %s\n", mafFile); + printf("cannot find custom track file\n"); return; } } mafWriteStart(stdout, NULL); // if this is a bigMaf file, open the source. struct bbiFile *bigMafBbi = NULL; if (isBigBed(database, table, curTrack, ctLookupName)) { struct trackDb *subTdb = hashFindVal(fullTableToTdbHash, table); char *fileName = trackDbSetting(subTdb, "bigDataUrl"); bigMafBbi = bigBedFileOpen(fileName); }