src/hg/encode/encodePatchTdb/encodePatchTdb.c 1.8

1.8 2010/01/05 20:25:37 kent
Removing some unused code.
Index: src/hg/encode/encodePatchTdb/encodePatchTdb.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/encodePatchTdb/encodePatchTdb.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/hg/encode/encodePatchTdb/encodePatchTdb.c	5 Jan 2010 20:15:44 -0000	1.7
+++ src/hg/encode/encodePatchTdb/encodePatchTdb.c	5 Jan 2010 20:25:37 -0000	1.8
@@ -46,18 +46,8 @@
 };
 
 boolean glReplace;	// If TRUE then do a replacement operation.
 
-struct loadInfo
-/* Information from a stanza of a load.ra file. */
-    {
-    struct loadInfo *next;
-    char *name;		/* from tablename. */
-    char *db;		/* from assembly. */
-    char *view;		/* form view. */
-    char *downloadOnly;	/* downloadOnly 0 or 1 */
-    };
-
 struct raTag
 /* A tag in a .ra file. */
     {
     struct raTag *next;
@@ -215,22 +205,8 @@
 dyStringFree(&dy);
 return raFile;
 }
 
-char *findDb(struct loadInfo *loadList, char *loadRa)
-/* Find the db common to the list.  Abort if mixing dbs. */
-{
-struct loadInfo *loadInfo;
-char *db = loadList->db;
-for (loadInfo = loadList->next; loadInfo != NULL; loadInfo = loadInfo->next)
-    {
-    if (!sameString(db, loadInfo->db))
-        errAbort("Multiple databases in %s: %s and %s, can't handle this.", 
-		loadRa, db, loadInfo->db);
-    }
-return db;
-}
-
 boolean compositeFirst(struct raRecord *raList)
 /* Return first record if it's composite.  Insure there are no other composites.
  * return NULL if first record is not composite. */
 {