From ae6c578e5d3fea35b8fdb7211aa180b5bf98d8d0 Mon Sep 17 00:00:00 2001 From: jsvisa Date: Mon, 5 Aug 2013 00:05:00 +0800 Subject: [PATCH] Initial vaiable unprecisionly --- backend/src/osx_platform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/osx_platform.cpp b/backend/src/osx_platform.cpp index 2bce65e..70ae5ed 100644 --- a/backend/src/osx_platform.cpp +++ b/backend/src/osx_platform.cpp @@ -166,7 +166,7 @@ InterfaceInfo OSXPlatform::service_info(SCNetworkServiceRef service) string OSXPlatform::stringFromCFString(CFStringRef cfString, CFStringEncoding encoding) { char *cstring = NULL; - int maxLen = NULL; + int maxLen = 0; string result; if (cfString != NULL) {