Try to fix failing TestDataFormatterSkipSummary test case.

llvm-svn: 282270
diff --git a/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp b/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
index 96190e5..f256322 100644
--- a/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
+++ b/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
@@ -135,7 +135,9 @@
     break;
 
   case 'Y':
-    if (option_arg.getAsInteger(0, no_summary_depth)) {
+    if (option_arg.empty())
+      no_summary_depth = 1;
+    else if (option_arg.getAsInteger(0, no_summary_depth)) {
       no_summary_depth = 1;
       error.SetErrorStringWithFormat("invalid pointer depth '%s'",
                                      option_arg.str().c_str());