0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-08 09:05:29 +00:00
Files
packages/utils/openzwave/patches/010-gcc14.patch
Rosen Penev 9a9f052598 openzwave: fix compilation with GCC14
Null pointer dereference. This looks like a bug fix actually...

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-07-16 10:35:41 -07:00

12 lines
358 B
Diff

--- a/cpp/src/command_classes/AssociationCommandConfiguration.cpp
+++ b/cpp/src/command_classes/AssociationCommandConfiguration.cpp
@@ -183,7 +183,7 @@ namespace OpenZWave
if (Node* node = GetNodeUnsafe())
{
Group* group = node->GetGroup(groupIdx);
- if ( NULL == group)
+ if (group)
{
if (firstReports)
{