forked from enlightenment/efl
edje: fix CID 1054522 - Logically dead code
The buffer is a static buffer in that scenario, so never going to be NULL indeed.
This commit is contained in:
parent
12072b2217
commit
48bc51b0c7
|
@ -1888,7 +1888,6 @@ cpp_push_buffer(cpp_reader * pfile, unsigned char *buffer, long length)
|
||||||
if (buf == pfile->buffer_stack)
|
if (buf == pfile->buffer_stack)
|
||||||
cpp_fatal("macro or `#include' recursion too deep");
|
cpp_fatal("macro or `#include' recursion too deep");
|
||||||
buf--;
|
buf--;
|
||||||
if (!buf) return NULL;
|
|
||||||
memset((char *)buf, 0, sizeof(cpp_buffer));
|
memset((char *)buf, 0, sizeof(cpp_buffer));
|
||||||
CPP_BUFFER(pfile) = buf;
|
CPP_BUFFER(pfile) = buf;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue