Remove unnecessary print. Increase keys count.

This commit is contained in:
Darko 2015-03-21 16:02:37 +01:00
parent 4f055d709e
commit 50b3672d36

5
main.c
View file

@ -5,7 +5,7 @@
#include "x.h" #include "x.h"
#define MAXBUF 80 #define MAXBUF 80
#define KEYCNT 1000 #define KEYCNT 10000
int dodebug = 1; int dodebug = 1;
@ -130,9 +130,6 @@ int main(int argc, char **argv)
if (failed) { if (failed) {
fatal("remove failed, report bug\n"); fatal("remove failed, report bug\n");
} }
dodebug = 1;
sl_print(&sl);
dodebug = 0;
printf("removed %d keys, %d same keys, list len: %lu\n", printf("removed %d keys, %d same keys, list len: %lu\n",
cntnew, cntsame, sl.len); cntnew, cntsame, sl.len);
sl_free(&sl); sl_free(&sl);