summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/MainAndroid.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-09-21 19:51:27 -0400
committerLioncash <mathew1800@gmail.com>2014-09-21 19:51:27 -0400
commitdc79755303b4ea7334322d77426378096d02667d (patch)
tree61d18571306b198ad91e87b8d4a14dd4d8863160 /Source/Core/DolphinWX/MainAndroid.cpp
parent9e2b9e2471f12d23926caaffdf9871566de05d4c (diff)
Android: Silence a few warnings
Diffstat (limited to 'Source/Core/DolphinWX/MainAndroid.cpp')
-rw-r--r--Source/Core/DolphinWX/MainAndroid.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/MainAndroid.cpp b/Source/Core/DolphinWX/MainAndroid.cpp
index 0f2c5eddce..99c77c2017 100644
--- a/Source/Core/DolphinWX/MainAndroid.cpp
+++ b/Source/Core/DolphinWX/MainAndroid.cpp
@@ -133,7 +133,7 @@ static inline u32 GetPixel(u32 *buffer, unsigned int x, unsigned int y) {
return buffer[y * 192 + x];
}
-bool LoadBanner(std::string filename, u32 *Banner)
+static bool LoadBanner(std::string filename, u32 *Banner)
{
DiscIO::IVolume* pVolume = DiscIO::CreateVolumeFromFilename(filename);
@@ -188,7 +188,8 @@ bool LoadBanner(std::string filename, u32 *Banner)
return false;
}
-std::string GetName(std::string filename)
+
+static std::string GetName(std::string filename)
{
if (!m_names.empty())
return m_names[0];
@@ -202,7 +203,7 @@ std::string GetName(std::string filename)
return name;
}
-std::string GetJString(JNIEnv *env, jstring jstr)
+static std::string GetJString(JNIEnv *env, jstring jstr)
{
std::string result = "";
if (!jstr)