From 76d76bb006c8b6305357f9797faf52a063ce38a9 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 29 Feb 2016 11:44:15 +0000 Subject: [PATCH] Fix compiler warnings in the java code llvm-svn: 262214 --- lldb/source/Plugins/Language/Java/JavaLanguage.h | 2 +- lldb/source/Symbol/JavaASTContext.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lldb/source/Plugins/Language/Java/JavaLanguage.h b/lldb/source/Plugins/Language/Java/JavaLanguage.h index edfa7ad..164facd 100644 --- a/lldb/source/Plugins/Language/Java/JavaLanguage.h +++ b/lldb/source/Plugins/Language/Java/JavaLanguage.h @@ -56,7 +56,7 @@ public: IsNilReference(ValueObject &valobj) override; lldb::TypeCategoryImplSP - GetFormatters(); + GetFormatters() override; }; } // namespace lldb_private diff --git a/lldb/source/Symbol/JavaASTContext.cpp b/lldb/source/Symbol/JavaASTContext.cpp index ae8ce59..8f06eef 100644 --- a/lldb/source/Symbol/JavaASTContext.cpp +++ b/lldb/source/Symbol/JavaASTContext.cpp @@ -366,8 +366,7 @@ public: JavaArrayType(CompilerType element_type, const DWARFExpression &length_expression, const lldb::addr_t data_offset) : JavaType(JavaType::eKindArray), m_element_type(element_type), - m_length_expression(length_expression), - m_data_offset(data_offset) + m_length_expression(length_expression) { } @@ -422,7 +421,6 @@ public: private: CompilerType m_element_type; DWARFExpression m_length_expression; - lldb::addr_t m_data_offset; }; } // end of anonymous namespace -- 2.7.4