diff options
author | Daniel Jacobowitz <dan@debian.org> | 2003-01-13 20:26:15 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2003-01-13 20:26:15 +0000 |
commit | 4e7fa4fef0c58b1bea9da2a4ee9443c45a88adb8 (patch) | |
tree | 6358e09c4ce35e2f4c0dcd810eebb4358748019f /gdb/source.c | |
parent | 2e11cb213110cb367505d567e7373fc38dea1056 (diff) | |
download | gdb-4e7fa4fef0c58b1bea9da2a4ee9443c45a88adb8.tar.gz |
* source.c (openp): Squelch warning about "filename".
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c index f3700db8188..c2269fadcd5 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -687,7 +687,10 @@ openp (const char *path, int try_cwd_first, const char *string, goto done; } else - fd = -1; + { + filename = NULL; + fd = -1; + } for (i = 0; string[i]; i++) if (IS_DIR_SEPARATOR (string[i])) |