* remote.c (minitelnet): Don't redeclare escape_count, echo_check.
[binutils-gdb.git] / gdb / source.c
index f3700db818872fad2b291a8e85373859e1d8a49a..c2269fadcd5bd6737820486a19a4edc8e938e641 100644 (file)
@@ -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]))