diff options
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 f3700db..c2269fa 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])) |