Remove the unused m_signal member variable, but leave the code that gets it out of...
authorEric Christopher <echristo@gmail.com>
Thu, 12 Jul 2018 03:52:46 +0000 (03:52 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 12 Jul 2018 03:52:46 +0000 (03:52 +0000)
llvm-svn: 336885

lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp
lldb/unittests/tools/lldb-server/tests/MessageObjects.h

index ef9be17..27fd78e 100644 (file)
@@ -58,9 +58,9 @@ support::endianness ProcessInfo::GetEndian() const { return m_endian; }
 
 //====== ThreadInfo ============================================================
 ThreadInfo::ThreadInfo(StringRef name, StringRef reason, RegisterMap registers,
-                       unsigned int signal)
+                       unsigned int)
     : m_name(name.str()), m_reason(reason.str()),
-      m_registers(std::move(registers)), m_signal(signal) {}
+      m_registers(std::move(registers)) {}
 
 const RegisterValue *ThreadInfo::ReadRegister(unsigned int Id) const {
   auto Iter = m_registers.find(Id);
index 52e0298..ac090c6 100644 (file)
@@ -60,7 +60,6 @@ private:
   std::string m_name;
   std::string m_reason;
   RegisterMap m_registers;
-  unsigned int m_signal;
 };
 
 class JThreadsInfo : public Parser<JThreadsInfo> {