From 1325881cd9d281fb25e5f3dab29b542040d52305 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Wed, 8 Jan 2025 09:16:36 -0500 Subject: [PATCH] Remove redundant assigment ...we are at a net 0 txt increase now on qpg --- src/app/AttributePathExpandIterator.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/AttributePathExpandIterator.cpp b/src/app/AttributePathExpandIterator.cpp index 9d8988233e7c07..b04458dc72a796 100644 --- a/src/app/AttributePathExpandIterator.cpp +++ b/src/app/AttributePathExpandIterator.cpp @@ -94,9 +94,8 @@ bool AttributePathExpandIterator::Next(ConcreteAttributePath & path) path = mPosition.mOutputPath; return true; } - mPosition.mAttributePath = mPosition.mAttributePath->mpNext; - mPosition.mOutputPath = ConcreteReadAttributePath(kInvalidEndpointId, kInvalidClusterId, kInvalidAttributeId); - mPosition.mOutputPath.mExpanded = true; // this is reset to false on advancement if needed + mPosition.mAttributePath = mPosition.mAttributePath->mpNext; + mPosition.mOutputPath = ConcreteReadAttributePath(kInvalidEndpointId, kInvalidClusterId, kInvalidAttributeId); } return false;