edje epp - fix gcc warning about possible unused var usage

gcc now is complaining about out ancient cpp code possibly using
newlines as undefined. this should keep this warning quiet - there
isnt a real performance issue here.

bin/edje/epp/cpplib.c: In function ‘cpp_get_token’:
bin/edje/epp/cpplib.c:4602:15: warning: ‘newlines’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
       else if (newlines > 0)

@fix
This commit is contained in:
Carsten Haitzler 2016-03-01 13:15:41 +09:00
parent e167154520
commit 4e29db73c9
1 changed files with 2 additions and 2 deletions

View File

@ -4558,10 +4558,10 @@ cpp_get_token(cpp_reader * pfile)
}
else
{
long newlines = 0;
struct parse_marker start_mark;
switch (c)
{
long newlines;
struct parse_marker start_mark;
case '/':
if (PEEKC() == '=')