aboutsummaryrefslogtreecommitdiff
path: root/ld/ldfile.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2009-04-06 01:21:09 +0000
committerKazu Hirata <kazu@codesourcery.com>2009-04-06 01:21:09 +0000
commit32252ac19e8131db716d8daa6210caf5407d5dbd (patch)
tree2eff391ae427292168ec1b9c31414628f001c762 /ld/ldfile.c
parent35d35f1f4e6956298ba0f9cbabe50902cbca5733 (diff)
downloadgdb-32252ac19e8131db716d8daa6210caf5407d5dbd.zip
gdb-32252ac19e8131db716d8daa6210caf5407d5dbd.tar.gz
gdb-32252ac19e8131db716d8daa6210caf5407d5dbd.tar.bz2
* ldfile.c (ldfile_find_command_file): Initialize result.
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r--ld/ldfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c
index 380b56a..422416a 100644
--- a/ld/ldfile.c
+++ b/ld/ldfile.c
@@ -552,7 +552,7 @@ ldfile_find_command_file (const char *name, const char *extend,
bfd_boolean default_only)
{
search_dirs_type *search;
- FILE *result;
+ FILE *result = NULL;
char *buffer;
static search_dirs_type *script_search;