src/hg/hgTables/hgTables.c 1.183

1.183 2009/04/14 14:19:53 angie
Added check for NULL tdb from findTdbForTable.
Index: src/hg/hgTables/hgTables.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/hgTables.c,v
retrieving revision 1.182
retrieving revision 1.183
diff -b -B -U 4 -r1.182 -r1.183
--- src/hg/hgTables/hgTables.c	11 Apr 2009 00:02:13 -0000	1.182
+++ src/hg/hgTables/hgTables.c	14 Apr 2009 14:19:53 -0000	1.183
@@ -1181,10 +1181,9 @@
 
 hti = getHti(db, table, conn);
 idField = getIdField(db, curTrack, table, hti);
 
-showItemRgb=bedItemRgb(tdb);	/* should we expect itemRgb */
-					/*	instead of "reserved" */
+showItemRgb=bedItemRgb(tdb);	/* should we expect itemRgb instead of "reserved" */
 
 /* If they didn't pass in a field list assume they want all fields. */
 if (fields != NULL)
     {