summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/MemoryUtil.cpp1
-rw-r--r--Source/Core/Common/MemoryUtil.h1
-rw-r--r--Source/Core/Common/SysConf.cpp2
-rw-r--r--Source/Core/Common/SysConf.h2
4 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/Common/MemoryUtil.cpp b/Source/Core/Common/MemoryUtil.cpp
index ce0d38cbcb..0c079a15b3 100644
--- a/Source/Core/Common/MemoryUtil.cpp
+++ b/Source/Core/Common/MemoryUtil.cpp
@@ -33,7 +33,6 @@
namespace Common
{
-
#if !defined(_WIN32)
#include <unistd.h>
static uintptr_t RoundPage(uintptr_t addr)
diff --git a/Source/Core/Common/MemoryUtil.h b/Source/Core/Common/MemoryUtil.h
index fa41da297c..1e2402f5d2 100644
--- a/Source/Core/Common/MemoryUtil.h
+++ b/Source/Core/Common/MemoryUtil.h
@@ -9,7 +9,6 @@
namespace Common
{
-
void* AllocateExecutableMemory(size_t size, bool low = true);
void* AllocateMemoryPages(size_t size);
void FreeMemoryPages(void* ptr, size_t size);
diff --git a/Source/Core/Common/SysConf.cpp b/Source/Core/Common/SysConf.cpp
index d6aed4f29e..980318c06b 100644
--- a/Source/Core/Common/SysConf.cpp
+++ b/Source/Core/Common/SysConf.cpp
@@ -17,7 +17,7 @@
#include "Core/Movie.h"
-SysConf::SysConf() : m_IsValid(false)
+SysConf::SysConf()
{
UpdateLocation();
}
diff --git a/Source/Core/Common/SysConf.h b/Source/Core/Common/SysConf.h
index 83bed95a4f..e500267c53 100644
--- a/Source/Core/Common/SysConf.h
+++ b/Source/Core/Common/SysConf.h
@@ -182,5 +182,5 @@ private:
std::string m_Filename;
std::string m_FilenameDefault;
std::vector<SSysConfEntry> m_Entries;
- bool m_IsValid;
+ bool m_IsValid = false;
};