From dd16d6db03bce14c574e5c1b3c7604088c138f37 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 1 Apr 2019 16:05:36 +0200 Subject: [PATCH] Zeroing donar params --- src/donar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/donar.c b/src/donar.c index 041a318..96316f7 100644 --- a/src/donar.c +++ b/src/donar.c @@ -12,7 +12,7 @@ int main(int argc, char** argv) { setvbuf(stdout, NULL, _IONBF, 0); printf("~ Donar ~\n"); - struct donar_params dp; + struct donar_params dp = {0}; donar_init_params (&dp); while ((dp.opt = getopt(argc, argv, "vcse:r:o:a:bh")) != -1) {