From 7411e9a828d5384857b444cc701cdab6e5f4d676 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 12 Oct 2010 15:30:24 +0000 Subject: gold/ * fileread.cc (Input_file::find_file): Initialize *found_name and *namep when using the fallback search for case 4. --- gold/fileread.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gold/fileread.cc') diff --git a/gold/fileread.cc b/gold/fileread.cc index f626028..a16738a 100644 --- a/gold/fileread.cc +++ b/gold/fileread.cc @@ -963,6 +963,8 @@ Input_file::find_file(const Dirsearch& dirpath, int* pindex, input_argument->name()); return false; } + *found_name = input_argument->name(); + *namep = name; *pindex = index + 1; return true; } -- cgit v1.1