Drop an attempt to pacify cppcheck that's no longer needed.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 11 Mar 2023 15:58:38 +0000 (10:58 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 11 Mar 2023 15:58:38 +0000 (10:58 -0500)
misc.c

diff --git a/misc.c b/misc.c
index 691d771eec7ab79d1d0a399c529a5af02f1a8d36..c6733d5fe285f6cc419122c594e93f9f60bea673 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -221,7 +221,7 @@ static char* get_input(void)
     // Print a blank line
     printf("\n");
 
-    char* input = "";
+    char* input;
     for (;;) {
         input = myreadline(input_prompt);