forked from enlightenment/efl
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:
parent
e167154520
commit
4e29db73c9
|
@ -4558,10 +4558,10 @@ cpp_get_token(cpp_reader * pfile)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
long newlines = 0;
|
||||||
|
struct parse_marker start_mark;
|
||||||
switch (c)
|
switch (c)
|
||||||
{
|
{
|
||||||
long newlines;
|
|
||||||
struct parse_marker start_mark;
|
|
||||||
|
|
||||||
case '/':
|
case '/':
|
||||||
if (PEEKC() == '=')
|
if (PEEKC() == '=')
|
||||||
|
|
Loading…
Reference in New Issue