2304be65f695a894f26f099574991fc9068488f4
hiram
  Fri Feb 7 11:12:58 2014 -0800
incorrect if() statement construction refs #11681
diff --git src/hg/hgSelect/hgSelect.c src/hg/hgSelect/hgSelect.c
index 501383b..a017906 100644
--- src/hg/hgSelect/hgSelect.c
+++ src/hg/hgSelect/hgSelect.c
@@ -38,31 +38,31 @@
     {"where", OPTION_STRING},
     {"joinTbls", OPTION_STRING},
     {NULL, 0}
 };
 
 static boolean noRandom;
 static boolean noHap;
 static char *where;
 static char *joinTbls;
 
 static boolean inclChrom(char *chrom)
 /* check if rows for chromosome should be included */
 {
 if (noRandom && (strstr(chrom, "_random") != NULL))
     return FALSE;
-if (noHap && haplotype(chrom));
+if (noHap && haplotype(chrom))
     return FALSE;
 return TRUE;
 }
 
 static void outputRow(FILE *outFh, struct hTableInfo *tblInfo, int numCols, char **row)
 /* output a row */
 {
 int startCol = (tblInfo->hasBin ? 1 : 0);
 int i;
 for (i = startCol; i < numCols; i++)
     {
     if (i > startCol)
         fputc('\t', outFh);
     fputs(row[i], outFh);
     }