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
This commit is contained in:
Vedant Kumar 2017-12-06 19:27:20 +00:00
parent 692f66ab62
commit 50048ac65e
1 changed files with 1 additions and 1 deletions

View File

@ -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();