[Lldb-commits] [lldb] r155639 - /lldb/trunk/source/lldb-log.cpp
Greg Clayton
gclayton at apple.com
Thu Apr 26 10:07:53 PDT 2012
Author: gclayton
Date: Thu Apr 26 12:07:53 2012
New Revision: 155639
URL: http://llvm.org/viewvc/llvm-project?rev=155639&view=rev
Log:
Patch from Filipe Cabecinhas.
Modified:
lldb/trunk/source/lldb-log.cpp
Modified: lldb/trunk/source/lldb-log.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/lldb-log.cpp?rev=155639&r1=155638&r2=155639&view=diff
==============================================================================
--- lldb/trunk/source/lldb-log.cpp (original)
+++ lldb/trunk/source/lldb-log.cpp Thu Apr 26 12:07:53 2012
@@ -174,7 +174,6 @@
if (log)
{
- bool got_unknown_category = false;
for (size_t i=0; categories[i] != NULL; ++i)
{
const char *arg = categories[i];
@@ -205,12 +204,8 @@
else
{
feedback_strm->Printf("error: unrecognized log category '%s'\n", arg);
- if (got_unknown_category == false)
- {
- got_unknown_category = true;
- ListLogCategories (feedback_strm);
- return log;
- }
+ ListLogCategories (feedback_strm);
+ return log;
}
}
More information about the lldb-commits
mailing list