summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2020-12-30 12:34:42 +0100
committerGitHub <noreply@github.com>2020-12-30 12:34:42 +0100
commitda07977db0b71e52f5870e3adf8c2fa0ada3c706 (patch)
treea27fcfc14d9487c78fb2f479f62e2aadfc07f462
parentMerge pull request #4967 from ReinUsesLisp/new-texcache (diff)
parentcmake: Enforce -Wuninitialized (diff)
downloadyuzu-da07977db0b71e52f5870e3adf8c2fa0ada3c706.tar
yuzu-da07977db0b71e52f5870e3adf8c2fa0ada3c706.tar.gz
yuzu-da07977db0b71e52f5870e3adf8c2fa0ada3c706.tar.bz2
yuzu-da07977db0b71e52f5870e3adf8c2fa0ada3c706.tar.lz
yuzu-da07977db0b71e52f5870e3adf8c2fa0ada3c706.tar.xz
yuzu-da07977db0b71e52f5870e3adf8c2fa0ada3c706.tar.zst
yuzu-da07977db0b71e52f5870e3adf8c2fa0ada3c706.zip
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/core/hle/service/pcie/pcie.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a22b564d6..8777df751 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -62,6 +62,7 @@ else()
-Werror=implicit-fallthrough
-Werror=missing-declarations
-Werror=reorder
+ -Werror=uninitialized
-Werror=unused-result
-Wextra
-Wmissing-declarations
diff --git a/src/core/hle/service/pcie/pcie.cpp b/src/core/hle/service/pcie/pcie.cpp
index 80c0fc7ac..f6686fc4d 100644
--- a/src/core/hle/service/pcie/pcie.cpp
+++ b/src/core/hle/service/pcie/pcie.cpp
@@ -48,7 +48,7 @@ public:
class PCIe final : public ServiceFramework<PCIe> {
public:
- explicit PCIe(Core::System& system_) : ServiceFramework{system, "pcie"} {
+ explicit PCIe(Core::System& system_) : ServiceFramework{system_, "pcie"} {
// clang-format off
static const FunctionInfo functions[] = {
{0, nullptr, "RegisterClassDriver"},