summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@efl.so>2013-10-14 13:53:06 +0200
committerCedric BAIL <cedric@efl.so>2013-10-14 13:53:06 +0200
commit48bc51b0c7a1062020415ea2ebf7f6076c1a1b4c (patch)
treedd9a365262727d9470610e7af2f4eeeab70e4cff
parent12072b22179f3e48b4ad850f78e5b4ff5442208f (diff)
downloadefl-48bc51b0c7a1062020415ea2ebf7f6076c1a1b4c.tar.gz
edje: fix CID 1054522 - Logically dead code
The buffer is a static buffer in that scenario, so never going to be NULL indeed.
-rw-r--r--src/bin/edje/epp/cpplib.c1
1 files changed, 0 insertions, 1 deletions
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