From 68727caf886271ab4e68423b076b8b5bca9e2cc5 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 20 Aug 2023 11:09:42 +0300 Subject: [PATCH 2/2] Fix compiler warning on non-readline builds See osdn #48454 Signed-off-by: Marko Lindqvist --- server/sernet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/server/sernet.c b/server/sernet.c index dad9b6a53b..55bbca2782 100644 --- a/server/sernet.c +++ b/server/sernet.c @@ -842,7 +842,6 @@ enum server_events server_sniff_all_input(void) #else /* !FREECIV_HAVE_LIBREADLINE */ ssize_t didget; char *buffer = NULL; /* Must be NULL when calling getline() */ - char *buf_internal; #ifdef HAVE_GETLINE size_t len = 0; -- 2.40.1