From 59bb6ecd169e531a2b0dc5891a03892733b8a180 Mon Sep 17 00:00:00 2001 From: y Date: Wed, 13 Jan 2021 05:25:09 +0100 Subject: [PATCH] refactory --- bfg.c | 2 -- bfg.h | 1 - 2 files changed, 3 deletions(-) diff --git a/bfg.c b/bfg.c index 9310455..117a2d8 100644 --- a/bfg.c +++ b/bfg.c @@ -175,8 +175,6 @@ int32_t bf_init(char *arg) { bf_options.crs_len = crs_len; bf_options.current = bf_options.from; bf_options.rain = 0; - bf_options.gcounter = 0; - memset((char *) bf_options.state, 0, sizeof(bf_options.state)); if (debug) diff --git a/bfg.h b/bfg.h index 602cee6..714c042 100644 --- a/bfg.h +++ b/bfg.h @@ -44,7 +44,6 @@ typedef struct { char *ptr; /* ptr to the last generated password */ uint32_t disable_symbols; uint64_t rain; - uint64_t gcounter; } bf_option; extern bf_option bf_options;