projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12072b2
)
edje: fix CID 1054522 - Logically dead code
author
Cedric BAIL
<cedric@efl.so>
Mon, 14 Oct 2013 11:53:06 +0000
(13:53 +0200)
committer
Cedric BAIL
<cedric@efl.so>
Mon, 14 Oct 2013 11:53:06 +0000
(13:53 +0200)
The buffer is a static buffer in that scenario, so never going to be NULL indeed.
src/bin/edje/epp/cpplib.c
patch
|
blob
|
history
diff --git
a/src/bin/edje/epp/cpplib.c
b/src/bin/edje/epp/cpplib.c
index
42abad4
..
af65241
100644
(file)
--- 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