2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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"},