From 72f3dbee9e1c9c2a832b13b057f004fe023d0e11 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 20 Nov 2014 23:24:20 +0100 Subject: [PATCH] Client: Remove superfluous line of code. --- src/client/io.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/io.c b/src/client/io.c index 4500815..6b55de9 100644 --- a/src/client/io.c +++ b/src/client/io.c @@ -237,8 +237,7 @@ static uint8_t read_queue() while (NULL != (msg = get_message_from_queue(&world.queue))) { char * log_prefix = "LOG "; - char * new_world = "NEW_WORLD"; - if (!strcmp(msg, new_world)) + if (!strcmp(msg, "NEW_WORLD")) { ret = 1; free(world.log); -- 2.30.2