Fixed warning on Mac 10.6 #4866

This commit is contained in:
Jerry (Xinyu Hou) 2015-07-24 13:34:22 -07:00
parent 945ccfdb75
commit 0f4837aa21
2 changed files with 3 additions and 3 deletions

View File

@ -20,6 +20,8 @@
#include <string.h> #include <string.h>
static const char kUnknownVersion[] = "unknown"; static const char kUnknownVersion[] = "unknown";
const char* s_pluginNames[] = { "ns" };
static const char* s_pluginVersions[] = { "1.2" };
const char* getExpectedPluginVersion(const char* name) const char* getExpectedPluginVersion(const char* name)
{ {

View File

@ -22,9 +22,7 @@ enum EPluginType {
kPluginCount kPluginCount
}; };
static const char* s_pluginNames[] = { "ns" }; extern const char* s_pluginNames[];
static const char* s_pluginVersions[] = { "1.2" };
//! Get expected plugin version //! Get expected plugin version
/*! /*!