aports/community/openzwave/fix-nullptr-check.patch
2023-04-23 19:14:38 +02:00

18 lines
664 B
Diff

Patch-Source: https://github.com/OpenZWave/open-zwave/pull/2647
See also: https://github.com/OpenZWave/open-zwave/issues/2613
diff --git a/cpp/src/command_classes/AssociationCommandConfiguration.cpp b/cpp/src/command_classes/AssociationCommandConfiguration.cpp
index 576441250..073edea8e 100644
--- 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 ( NULL != group)
{
if (firstReports)
{