Fixed a build warning where no return values was being returned.

llvm-svn: 114511
This commit is contained in:
Greg Clayton 2010-09-22 00:23:59 +00:00
parent 07827ba978
commit d7aa114ecc
1 changed files with 3 additions and 1 deletions

View File

@ -940,7 +940,9 @@ TargetInstanceSettings::GetInstanceSettingsValue (const SettingEntry &entry,
StringList &value,
Error *err)
{
// Currently 'target' does not have any instance settings.
if (err)
err->SetErrorString ("'target' does not have any instance settings");
return false;
}
const ConstString