diff options
author | Zachary Turner <zturner@google.com> | 2016-09-23 18:13:18 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-09-23 18:13:18 +0000 |
commit | 16b39131b68b3e878da6a7f70df9ccd7ebd8daf1 (patch) | |
tree | 259f9995d1e9bff28b22f0105ba5f5813240c4e2 | |
parent | 2f13958c56af7a460ecaeb95ff1219f9165254c0 (diff) | |
download | bcm5719-llvm-16b39131b68b3e878da6a7f70df9ccd7ebd8daf1.tar.gz bcm5719-llvm-16b39131b68b3e878da6a7f70df9ccd7ebd8daf1.zip |
Try again to match the logic of the code before re-writing.
llvm-svn: 282271
-rw-r--r-- | lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp b/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp index f256322b707..6d331326dec 100644 --- a/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp +++ b/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp @@ -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()); } |