aa05e8309dcff108120ec513b1e999c5c9fdab2c
galt
  Tue Dec 31 21:03:13 2024 -0800
fix compiler warning in hgc on hgwdev-new with Rocky 9.

diff --git src/hg/hgc/gencodeClick.c src/hg/hgc/gencodeClick.c
index 80a6f92..73bbc43 100644
--- src/hg/hgc/gencodeClick.c
+++ src/hg/hgc/gencodeClick.c
@@ -58,37 +58,36 @@
 static char *apprisHomeUrl = "https://appris.bioinfo.cnio.es/#/";
 static char *apprisGeneUrl = "https://appris.bioinfo.cnio.es/#/database/id/%s/%s?sc=ensembl";
 
 // species-specific
 static char *hgncByIdUrl = "https://www.genenames.org/data/gene-symbol-report/#!/hgnc_id/%s";
 static char *hgncBySymUrl = " https://www.genenames.org/data/gene-symbol-report/#!/symbol/%s";
 static char *geneCardsUrl = "http://www.genecards.org/cgi-bin/carddisp.pl?gene=%s";
 static char *mgiBySymUrl = "http://www.informatics.jax.org/quicksearch/summary?queryType=exactPhrase&query=%s";
 static char *mgiByIdUrl = "http://www.informatics.jax.org/accession/%s";
 
 static char* UNKNOWN = "unknown";
 
 static boolean isGrcHuman()
 /* is this a GRC human assembly? */
 {
+bool result = FALSE;
 if (startsWith("hg", database))
-    return TRUE;
-else if (startsWith("mm", database))
-    return FALSE;
-else
-    errAbort("BUG: gencodeClick on wrong database: %s", database);
-    return FALSE;
+    result = TRUE;
+else if (!startsWith("mm", database))
+    warn("BUG: gencodeClick on wrong database: %s", database);
+return result;
 }
 
 static bool haveGencodeTable(struct sqlConnection *conn, struct trackDb *tdb, char *tableBase)
 /* determine if a gencode table exists; it might be option or not in older releases */
 {
 return sqlTableExists(conn, gencodeGetTableName(tdb, tableBase));
 }
 
 static boolean isGrcH37Native(struct trackDb *tdb)
 /* Is this GENCODE GRCh37 native build, which requires a different Ensembl site. */
 {
 // check for non-lifted GENCODE on GRCh37/hg19
 if (sameString(database, "hg19"))
     return stringIn("lift37", gencodeGetVersion(tdb)) == NULL;
 else