summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2017-09-08 09:17:31 +0200
committerGitHub <noreply@github.com>2017-09-08 09:17:31 +0200
commit62a331deedeb9843756b975a976e8a77a38d3745 (patch)
treef40085caeafcad28f3d6bc04041cd3e41fc1b46e /Source
parent626a843b41727e86c4356f9c0174f7b7d484c538 (diff)
parenta8849f87f15b6ef5de3b730b90bb9000106766da (diff)
Merge pull request #6035 from leoetlino/warning-fixes
Core: Fix warnings
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/WiiUtils.cpp2
-rw-r--r--Source/Core/DolphinQt2/Main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/WiiUtils.cpp b/Source/Core/Core/WiiUtils.cpp
index c58cc9d65c..14d2024dd0 100644
--- a/Source/Core/Core/WiiUtils.cpp
+++ b/Source/Core/Core/WiiUtils.cpp
@@ -46,7 +46,7 @@
namespace WiiUtils
{
-bool InstallWAD(IOS::HLE::Kernel& ios, const DiscIO::WiiWAD& wad)
+static bool InstallWAD(IOS::HLE::Kernel& ios, const DiscIO::WiiWAD& wad)
{
if (!wad.IsValid())
{
diff --git a/Source/Core/DolphinQt2/Main.cpp b/Source/Core/DolphinQt2/Main.cpp
index c991469d28..e00889ab65 100644
--- a/Source/Core/DolphinQt2/Main.cpp
+++ b/Source/Core/DolphinQt2/Main.cpp
@@ -21,7 +21,7 @@
#include "UICommon/CommandLineParse.h"
#include "UICommon/UICommon.h"
-bool QtMsgAlertHandler(const char* caption, const char* text, bool yes_no, MsgType style)
+static bool QtMsgAlertHandler(const char* caption, const char* text, bool yes_no, MsgType style)
{
return RunOnObject(QApplication::instance(), [&] {
QMessageBox message_box(QApplication::activeWindow());