yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #5251 from ReinUsesLisp/wuninitialized

cmake: Enforce -Wuninitialized
This commit is contained in:
LC 2020-12-30 06:34:42 -05:00 committed by GitHub
commit da07977db0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -62,6 +62,7 @@ else()
-Werror=implicit-fallthrough -Werror=implicit-fallthrough
-Werror=missing-declarations -Werror=missing-declarations
-Werror=reorder -Werror=reorder
-Werror=uninitialized
-Werror=unused-result -Werror=unused-result
-Wextra -Wextra
-Wmissing-declarations -Wmissing-declarations

View File

@ -48,7 +48,7 @@ public:
class PCIe final : public ServiceFramework<PCIe> { class PCIe final : public ServiceFramework<PCIe> {
public: public:
explicit PCIe(Core::System& system_) : ServiceFramework{system, "pcie"} { explicit PCIe(Core::System& system_) : ServiceFramework{system_, "pcie"} {
// clang-format off // clang-format off
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, nullptr, "RegisterClassDriver"}, {0, nullptr, "RegisterClassDriver"},