From: Eric S. Raymond Date: Sat, 11 Mar 2023 15:58:38 +0000 (-0500) Subject: Drop an attempt to pacify cppcheck that's no longer needed. X-Git-Tag: 1.15~64 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=569a39aa7c4429c27f074b86a71c1d540491d19f;p=open-adventure.git Drop an attempt to pacify cppcheck that's no longer needed. --- diff --git a/misc.c b/misc.c index 691d771..c6733d5 100644 --- 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);