[Lldb-commits] [lldb] r346651 - Fix an unused variable warning. NFC
Alexander Kornienko via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 12 05:41:42 PST 2018
Author: alexfh
Date: Mon Nov 12 05:41:42 2018
New Revision: 346651
URL: http://llvm.org/viewvc/llvm-project?rev=346651&view=rev
Log:
Fix an unused variable warning. NFC
Modified:
lldb/trunk/source/Plugins/Process/Utility/StopInfoMachException.cpp
Modified: lldb/trunk/source/Plugins/Process/Utility/StopInfoMachException.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/StopInfoMachException.cpp?rev=346651&r1=346650&r2=346651&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/StopInfoMachException.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/StopInfoMachException.cpp Mon Nov 12 05:41:42 2018
@@ -44,8 +44,10 @@ const char *StopInfoMachException::GetDe
const char *subcode_label = "subcode";
const char *subcode_desc = NULL;
+#if defined(__APPLE__)
char code_desc_buf[32];
char subcode_desc_buf[32];
+#endif
switch (m_value) {
case 1: // EXC_BAD_ACCESS
More information about the lldb-commits
mailing list