summaryrefslogtreecommitdiff
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)
downloadbinutils-gdb-32252ac19e8131db716d8daa6210caf5407d5dbd.tar.gz
* 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 380b56ac68e..422416a8b44 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;