summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar LC2020-12-30 06:34:42 -0500
committerGravatar GitHub2020-12-30 06:34:42 -0500
commitda07977db0b71e52f5870e3adf8c2fa0ada3c706 (patch)
treea27fcfc14d9487c78fb2f479f62e2aadfc07f462 /src
parentMerge pull request #4967 from ReinUsesLisp/new-texcache (diff)
parentcmake: Enforce -Wuninitialized (diff)
downloadyuzu-da07977db0b71e52f5870e3adf8c2fa0ada3c706.tar.gz
yuzu-da07977db0b71e52f5870e3adf8c2fa0ada3c706.tar.xz
yuzu-da07977db0b71e52f5870e3adf8c2fa0ada3c706.zip
Merge pull request #5251 from ReinUsesLisp/wuninitialized
cmake: Enforce -Wuninitialized
Diffstat (limited to 'src')
-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()
62 -Werror=implicit-fallthrough 62 -Werror=implicit-fallthrough
63 -Werror=missing-declarations 63 -Werror=missing-declarations
64 -Werror=reorder 64 -Werror=reorder
65 -Werror=uninitialized
65 -Werror=unused-result 66 -Werror=unused-result
66 -Wextra 67 -Wextra
67 -Wmissing-declarations 68 -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:
48 48
49class PCIe final : public ServiceFramework<PCIe> { 49class PCIe final : public ServiceFramework<PCIe> {
50public: 50public:
51 explicit PCIe(Core::System& system_) : ServiceFramework{system, "pcie"} { 51 explicit PCIe(Core::System& system_) : ServiceFramework{system_, "pcie"} {
52 // clang-format off 52 // clang-format off
53 static const FunctionInfo functions[] = { 53 static const FunctionInfo functions[] = {
54 {0, nullptr, "RegisterClassDriver"}, 54 {0, nullptr, "RegisterClassDriver"},