[Lldb-commits] [lldb] r114511 - /lldb/trunk/source/Target/Target.cpp
Greg Clayton
gclayton at apple.com
Tue Sep 21 17:24:00 PDT 2010
Author: gclayton
Date: Tue Sep 21 19:23:59 2010
New Revision: 114511
URL: http://llvm.org/viewvc/llvm-project?rev=114511&view=rev
Log:
Fixed a build warning where no return values was being returned.
Modified:
lldb/trunk/source/Target/Target.cpp
Modified: lldb/trunk/source/Target/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Target.cpp?rev=114511&r1=114510&r2=114511&view=diff
==============================================================================
--- lldb/trunk/source/Target/Target.cpp (original)
+++ lldb/trunk/source/Target/Target.cpp Tue Sep 21 19:23:59 2010
@@ -940,7 +940,9 @@
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
More information about the lldb-commits
mailing list