* fileread.cc (Input_file::find_file): Initialize *found_name
	and *namep when using the fallback search for case 4.
This commit is contained in:
Richard Sandiford 2010-10-12 15:30:24 +00:00
parent 6877026586
commit 7411e9a828
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-10-12 Richard Sandiford <richard.sandiford@linaro.org>
* fileread.cc (Input_file::find_file): Initialize *found_name
and *namep when using the fallback search for case 4.
2010-10-11 Cary Coutant <ccoutant@google.com>
* options.h (class General_options): Redefine -z lazy as an alias for

View File

@ -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;
}