message: Fix an -Wunused-function warning, NFC
diff: #include "CFBundle.h"
  #include "CFString.h"
  -static void SplitEventData(const char *data, std::vector<std::string> &elements)
  -{
  - elements.clear();
  - if (!data)
  - return;
  -
  - const char *start = data;
  -
  - while (*start != '\0') {
  - const char *token = strchr(start, ':');
  - if (!token) {
  - elements.push_back(std::string(start));
  - return;
  - }
  - if (token != start)
  - elements.push_back(std::string(start, token - start));
  - start = ++token;
  - }
  -}
  -
  #ifdef WITH_SPRINGBOARD
  #include <CoreFoundation/CoreFoundation.h>
  @@ -210,6 +190,28 @@ static bool CallBoardSystemServiceOpenApplication(NSString *bundleIDNSStr,
  }
  #endif
  +#if defined(WITH_FBS) || defined(WITH_FBS)
  +static void SplitEventData(const char *data, std::vector<std::string> &elements)
  +{
  + elements.clear();
  + if (!data)
  + return;
  +
  + const char *start = data;
  +
  + while (*start != '\0') {
  + const char *token = strchr(start, ':');
  + if (!token) {
  + elements.push_back(std::string(start));
  + return;
  + }
  + if (token != start)
  + elements.push_back(std::string(start, token - start));
  + start = ++token;
  + }
  +}
  +#endif
  +
  #ifdef WITH_BKS
  #import <Foundation/Foundation.h>
  extern "C" {
  