packages/utils/openzwave/patches/010-gcc14.patch

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)
{