src/hg/makeDb/hgTrackDb/hgTrackDb.c 1.68

1.68 2010/05/11 19:07:47 kent
Removing old code.
Index: src/hg/makeDb/hgTrackDb/hgTrackDb.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/makeDb/hgTrackDb/hgTrackDb.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -b -B -U 4 -r1.67 -r1.68
--- src/hg/makeDb/hgTrackDb/hgTrackDb.c	11 May 2010 01:43:30 -0000	1.67
+++ src/hg/makeDb/hgTrackDb/hgTrackDb.c	11 May 2010 19:07:47 -0000	1.68
@@ -589,34 +589,8 @@
 if(countOfSortedContainers > 0)
     verbose(1,"Sorted %d containers\n",countOfSortedContainers);
 }
 
-#ifdef OLD
-static void inheritFieldsFromParents(struct trackDb *tdb, struct trackDb *parent)
-/* Inherit undefined fields (outside of settings) from parent. */
-{
-if (tdb->shortLabel == NULL)
-    tdb->shortLabel = cloneString(parent->shortLabel);
-if (tdb->type == NULL)
-    tdb->type = cloneString(parent->type);
-if (tdb->longLabel == NULL)
-    tdb->longLabel = cloneString(parent->longLabel);
-if (tdb->restrictList == NULL)
-    tdb->restrictList = parent->restrictList;
-if (tdb->url == NULL)
-    tdb->url = cloneString(parent->url);
-if (tdb->grp == NULL)
-    tdb->grp = cloneString(parent->grp);
-if (tdb->canPack == 2 && parent->canPack != 2)
-    tdb->canPack = parent->canPack;
-if (parent->private)
-    tdb->private = TRUE;
-if (parent->useScore)
-    tdb->useScore = TRUE;
-}
-#endif /* OLD */
-
-
 
 static void rSetTrackDbFields(struct trackDb *tdbList)
 /* Recursively fill in non-settings fields from settings. */
 {