From 48bc51b0c7a1062020415ea2ebf7f6076c1a1b4c Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 14 Oct 2013 13:53:06 +0200 Subject: [PATCH] edje: fix CID 1054522 - Logically dead code The buffer is a static buffer in that scenario, so never going to be NULL indeed. --- src/bin/edje/epp/cpplib.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bin/edje/epp/cpplib.c b/src/bin/edje/epp/cpplib.c index 42abad4aa2..af65241175 100644 --- a/src/bin/edje/epp/cpplib.c +++ b/src/bin/edje/epp/cpplib.c @@ -1888,7 +1888,6 @@ cpp_push_buffer(cpp_reader * pfile, unsigned char *buffer, long length) if (buf == pfile->buffer_stack) cpp_fatal("macro or `#include' recursion too deep"); buf--; - if (!buf) return NULL; memset((char *)buf, 0, sizeof(cpp_buffer)); CPP_BUFFER(pfile) = buf; #else