Browse Source
Merge pull request #5251 from ReinUsesLisp/wuninitialized
cmake: Enforce -Wuninitialized
pull/15/merge
LC
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
src/CMakeLists.txt
-
src/core/hle/service/pcie/pcie.cpp
|
|
|
@ -62,6 +62,7 @@ else() |
|
|
|
-Werror=implicit-fallthrough |
|
|
|
-Werror=missing-declarations |
|
|
|
-Werror=reorder |
|
|
|
-Werror=uninitialized |
|
|
|
-Werror=unused-result |
|
|
|
-Wextra |
|
|
|
-Wmissing-declarations |
|
|
|
|
|
|
|
@ -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"}, |
|
|
|
|