Merge pull request #61 from fischman/master

Silence is golden: genperf emits too much stdout in success path
diff --git a/tools/genperf/perfect.c b/tools/genperf/perfect.c
index af6b461..7cd6867 100644
--- a/tools/genperf/perfect.c
+++ b/tools/genperf/perfect.c
@@ -671,8 +671,6 @@
     sprintf(final->line[0], "  unsigned long rsl = (a ^ scramble[tab[b]]);\n");
   }
 
-  printf("success, found a perfect hash\n");
-
   free((void *)tabq);
   free((void *)tabh);
 }
@@ -901,8 +899,6 @@
       continue;                             /* two keys have same (a,b) pair */
     }
 
-    printf("found distinct (A,B) on attempt %ld\n", trysalt);
-
     /* Given distinct (A,B) for all keys, build a perfect hash */
     if (!perfect(*tabb, *tabh, tabq, *blen, *smax, scramble, nkeys, form))
     {
@@ -932,8 +928,6 @@
     break;
   }
 
-  printf("built perfect hash table of size %ld\n", *blen);
-
   /* free working memory */
   free((void *)tabq);
 }
@@ -1143,7 +1137,6 @@
 
   /* read in the list of keywords */
   getkeys(&keys, &nkeys, textroot, keyroot, form);
-  printf("Read in %ld keys\n",nkeys);
 
   /* find the hash */
   findhash(&tab, &alen, &blen, &salt, &final, 
@@ -1151,13 +1144,11 @@
 
   /* generate the phash.c file */
   make_c(tab, smax, blen, scramble, &final, form);
-  printf("Wrote phash.c\n");
 
   /* clean up memory sources */
   refree(textroot);
   refree(keyroot);
   free((void *)tab);
-  printf("Cleaned up\n");
 }