From: Christian Heller Date: Thu, 20 Nov 2014 22:24:20 +0000 (+0100) Subject: Client: Remove superfluous line of code. X-Git-Tag: tce~585 X-Git-Url: https://plomlompom.com/repos/foo.html?a=commitdiff_plain;h=72f3dbee9e1c9c2a832b13b057f004fe023d0e11;p=plomrogue Client: Remove superfluous line of code. --- 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);