Merge pull request #5251 from ReinUsesLisp/wuninitialized
cmake: Enforce -Wuninitialized
This commit is contained in:
commit
da07977db0
|
@ -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"},
|
||||||
|
|
Reference in New Issue