Browse Source

* simdb-write : cleanup

master
Alex 'AdUser' Z 8 years ago
parent
commit
f493cab98e
  1. 6
      src/simdb-write.c

6
src/simdb-write.c

@ -1,7 +1,4 @@
#include "common.h" #include "common.h"
#include "bitmap.h"
#include "record.h"
#include "io.h"
#include "simdb.h" #include "simdb.h"
#include <getopt.h> #include <getopt.h>
@ -27,11 +24,8 @@ int main(int argc, char **argv)
const char *sample = NULL; const char *sample = NULL;
const char *c = NULL; const char *c = NULL;
simdb_t *db = NULL; simdb_t *db = NULL;
simdb_urec_t rec;
int num = 0, err = 0; int num = 0, err = 0;
memset(&rec, 0x0, sizeof(simdb_urec_t));
if (argc < 3) if (argc < 3)
usage(EXIT_FAILURE); usage(EXIT_FAILURE);

Loading…
Cancel
Save