summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-12-06 19:27:20 +0000
committerVedant Kumar <vsk@apple.com>2017-12-06 19:27:20 +0000
commit50048ac65e389b26c050235a0934d1812635ccf4 (patch)
tree52ae02673ebf5b49e5f7522b27d39757814a24d8 /lldb/tools/debugserver/source
parent692f66ab626b50f14e4177f27e5b4f053301d686 (diff)
downloadbcm5719-llvm-50048ac65e389b26c050235a0934d1812635ccf4.tar.gz
bcm5719-llvm-50048ac65e389b26c050235a0934d1812635ccf4.zip
Fix the -Wunused-function warning properly (MachProcess.mm)
r319938 was not NFC, because it got the preprocessor guard wrong. Check WITH_FBS and WITH_BKS before defining SplitEventData. llvm-svn: 319943
Diffstat (limited to 'lldb/tools/debugserver/source')
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachProcess.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
index be904787081..d4dff223bde 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
@@ -190,7 +190,7 @@ static bool CallBoardSystemServiceOpenApplication(NSString *bundleIDNSStr,
}
#endif
-#if defined(WITH_FBS) || defined(WITH_FBS)
+#if defined(WITH_BKS) || defined(WITH_FBS)
static void SplitEventData(const char *data, std::vector<std::string> &elements)
{
elements.clear();
OpenPOWER on IntegriCloud