[Lldb-commits] [lldb] r107694 - in /lldb/trunk/source: Core/DataExtractor.cpp Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp

Greg Clayton gclayton at apple.com
Tue Jul 6 13:30:35 PDT 2010


Author: gclayton
Date: Tue Jul  6 15:30:35 2010
New Revision: 107694

URL: http://llvm.org/viewvc/llvm-project?rev=107694&view=rev
Log:
Remove extraneous semicolon after if condition (from Jean-Daniel Dupas).


Modified:
    lldb/trunk/source/Core/DataExtractor.cpp
    lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp

Modified: lldb/trunk/source/Core/DataExtractor.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/DataExtractor.cpp?rev=107694&r1=107693&r2=107694&view=diff
==============================================================================
--- lldb/trunk/source/Core/DataExtractor.cpp (original)
+++ lldb/trunk/source/Core/DataExtractor.cpp Tue Jul  6 15:30:35 2010
@@ -1279,17 +1279,17 @@
             break;
 
         case eFormatDecimal:
-            if (item_byte_size <= 8);
+            if (item_byte_size <= 8)
                 s->Printf ("%lld", GetMaxS64Bitfield(&offset, item_byte_size, item_bit_size, item_bit_offset));
             break;
 
         case eFormatUnsigned:
-            if (item_byte_size <= 8);
+            if (item_byte_size <= 8)
                 s->Printf ("%llu", GetMaxU64Bitfield(&offset, item_byte_size, item_bit_size, item_bit_offset));
             break;
 
         case eFormatOctal:
-            if (item_byte_size <= 8);
+            if (item_byte_size <= 8)
                 s->Printf ("0%llo", GetMaxS64Bitfield(&offset, item_byte_size, item_bit_size, item_bit_offset));
             break;
 

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp?rev=107694&r1=107693&r2=107694&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp Tue Jul  6 15:30:35 2010
@@ -196,7 +196,7 @@
         m_prev_abbr_offset_pos = pos;
     }
 
-    if (pos != m_abbrevCollMap.end());
+    if (pos != m_abbrevCollMap.end())
         return &(pos->second);
     return NULL;
 }





More information about the lldb-commits mailing list