diff options
| author | LC <mathew1800@gmail.com> | 2020-12-30 06:34:42 -0500 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-30 06:34:42 -0500 | 
| commit | da07977db0b71e52f5870e3adf8c2fa0ada3c706 (patch) | |
| tree | a27fcfc14d9487c78fb2f479f62e2aadfc07f462 | |
| parent | d5fe722a30947c5c808717ad8940077e95a3a81c (diff) | |
| parent | ac2e2ebe97964d5eddeb405d48ba61525660e2c1 (diff) | |
Merge pull request #5251 from ReinUsesLisp/wuninitialized
cmake: Enforce -Wuninitialized
| -rw-r--r-- | src/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | src/core/hle/service/pcie/pcie.cpp | 2 | 
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"}, | 
