Fix 2 waring in the OCaml AST context
authorTamas Berghammer <tberghammer@google.com>
Fri, 2 Sep 2016 15:52:19 +0000 (15:52 +0000)
committerTamas Berghammer <tberghammer@google.com>
Fri, 2 Sep 2016 15:52:19 +0000 (15:52 +0000)
llvm-svn: 280490

lldb/include/lldb/Symbol/OCamlASTContext.h
lldb/source/Symbol/OCamlASTContext.cpp

index 631574b..e90b66b 100644 (file)
@@ -334,7 +334,6 @@ class OCamlASTContext : public TypeSystem
 
   private:
     int m_pointer_byte_size;
-    int m_int_byte_size;
     std::unique_ptr<DWARFASTParser> m_dwarf_ast_parser_ap;
     OCamlTypeMap m_base_type_map;
 
index 7e1963d..08dd4c7 100644 (file)
@@ -350,8 +350,6 @@ OCamlASTContext::IsIntegerType(lldb::opaque_compiler_type_t type, bool &is_signe
             case OCamlPrimitiveType::eTypeInt:
                 is_signed = true;
                 return true;
-            default:
-                break;
         }
     }