Try again to match the logic of the code before re-writing.

llvm-svn: 282271
This commit is contained in:
Zachary Turner 2016-09-23 18:13:18 +00:00
parent 2f13958c56
commit 16b39131b6
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ Error OptionGroupValueObjectDisplay::SetOptionValue(
if (option_arg.empty())
no_summary_depth = 1;
else if (option_arg.getAsInteger(0, no_summary_depth)) {
no_summary_depth = 1;
no_summary_depth = 0;
error.SetErrorStringWithFormat("invalid pointer depth '%s'",
option_arg.str().c_str());
}