forked from enlightenment/efl
edje_cc: Remove unused variable 'got_hash'
got_hash will always be zero at the point where it's read. Fixes CID 1261439
This commit is contained in:
parent
4e08a2e834
commit
4f98d6a007
|
@ -86,25 +86,19 @@ source_fetch_file(const char *fil, const char *filname)
|
|||
while (fgets(buf, sizeof(buf), f))
|
||||
{
|
||||
char *p, *pp;
|
||||
int got_hash = 0;
|
||||
int forgetit = 0;
|
||||
int haveinclude = 0;
|
||||
char *file = NULL, *fname = NULL;
|
||||
|
||||
p = buf;
|
||||
while ((!forgetit) && (*p))
|
||||
{
|
||||
if (!got_hash)
|
||||
{
|
||||
if (!isspace(*p))
|
||||
{
|
||||
if (*p == '#')
|
||||
got_hash = 1;
|
||||
else
|
||||
if (*p != '#')
|
||||
forgetit = 1;
|
||||
}
|
||||
p++;
|
||||
}
|
||||
|
||||
if (!haveinclude)
|
||||
{
|
||||
|
@ -185,8 +179,6 @@ source_fetch_file(const char *fil, const char *filname)
|
|||
else
|
||||
p++;
|
||||
}
|
||||
|
||||
got_hash = 0;
|
||||
}
|
||||
if ((file) && (fname))
|
||||
source_fetch_file(file, fname);
|
||||
|
|
Loading…
Reference in New Issue