From 2ba9fc01bd1f1f54b50004c97d7239a469dd6f19 Mon Sep 17 00:00:00 2001 From: Ben Winston Date: Tue, 18 Jun 2024 12:08:11 -0400 Subject: bugfix: multiple vars on a line each needs initializing --- booki.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booki.c b/booki.c index 1738f9f..efec71a 100644 --- a/booki.c +++ b/booki.c @@ -903,7 +903,7 @@ void search(int argc, char* argv[], char* booki_file) { return; } - FILE *edit_file, *fixed_file = NULL; + FILE *edit_file = NULL, *fixed_file = NULL; if (search_opts.edit) { edit_file = fopen(EDIT_FILE, "w"); fixed_file = fopen(FIXED_FILE, "w"); -- cgit v1.2.3