* source.c (openp): Squelch warning about "filename".
This commit is contained in:
parent
32d34c7c4d
commit
3f565f1eb5
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
|
* source.c (openp): Squelch warning about "filename".
|
||||||
|
|
||||||
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
* source.c (openp): If the file does not exist don't necessarily
|
* source.c (openp): If the file does not exist don't necessarily
|
||||||
|
|
|
@ -687,7 +687,10 @@ openp (const char *path, int try_cwd_first, const char *string,
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
fd = -1;
|
{
|
||||||
|
filename = NULL;
|
||||||
|
fd = -1;
|
||||||
|
}
|
||||||
|
|
||||||
for (i = 0; string[i]; i++)
|
for (i = 0; string[i]; i++)
|
||||||
if (IS_DIR_SEPARATOR (string[i]))
|
if (IS_DIR_SEPARATOR (string[i]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue