b030384588e40fb3b0ddd6ee3388e97e47a84720
hiram
  Tue Jan 14 11:42:17 2014 -0800
remove useless enum compare to less than zero never possible refs #12209
diff --git src/hg/lib/snp125Ui.c src/hg/lib/snp125Ui.c
index 7be8e26..3910c16 100644
--- src/hg/lib/snp125Ui.c
+++ src/hg/lib/snp125Ui.c
@@ -704,20 +704,20 @@
 }
 
 char *snp125ColorSourceToLabel(struct trackDb *tdb, enum snp125ColorSource cs)
 /* Due to availability of different color sources in several different versions,
  * this is not just an array lookup, hence the encapsulation. Don't modify return value. */
 {
 int version = snpVersion(tdb->table);
 if (version >= 132)
     {
     if (cs < 1 || cs >= snp132ColorSourceArraySize+1)
 	errAbort("Bad color source for build 132 or later (%d)", cs);
     return snp132ColorSourceLabels[cs-1];
     }
 else
     {
-    if (cs < 0 || cs >= snp125ColorSourceArraySize)
+    if (cs >= snp125ColorSourceArraySize)
 	errAbort("Bad color source for build 131 or earlier (%d)", cs);
     return snp125ColorSourceLabels[cs];
     }
 }