src/hg/hgTables/compositeTrack.c 1.15

1.15 2009/04/14 14:19:52 angie
Added check for NULL tdb from findTdbForTable.
Index: src/hg/hgTables/compositeTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/compositeTrack.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -b -B -U 4 -r1.14 -r1.15
--- src/hg/hgTables/compositeTrack.c	10 Apr 2009 20:04:28 -0000	1.14
+++ src/hg/hgTables/compositeTrack.c	14 Apr 2009 14:19:52 -0000	1.15
@@ -149,9 +149,9 @@
        curTable);
 }
 
 struct trackDb *findTdbForTable(char *db,struct trackDb *parent,char *table)
-/* Find or creates the tdb for this table. */
+/* Find or creates the tdb for this table.  Might return NULL! (e.g. all tables) */
 {
 if(isEmpty(table))
     return parent;
 struct trackDb *tdb = NULL;