Merge pull request #5251 from ReinUsesLisp/wuninitialized
cmake: Enforce -Wuninitialized
This commit is contained in:
commit
da07977db0
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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"},
|
||||||
|
|
Loading…
Reference in a new issue