Skip to content

Commit 0b68851

Browse files
committed
removed unnecessary member variable
1 parent 34fc984 commit 0b68851

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/ConvoyLeader/src/ErrorState.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@
6262

6363
void ErrorState::entry()
6464
{
65-
m_isActive = true;
66-
m_releaseRequested = false;
65+
m_isActive = true;
6766
}
6867

6968
void ErrorState::process(StateMachine& sm)

lib/ConvoyLeader/src/ErrorState.h

-3
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ class ErrorState : public IState
9292
/** Flag: State is active. */
9393
bool m_isActive;
9494

95-
/** Flag: Release is requested. */
96-
bool m_releaseRequested;
97-
9895
/**
9996
* Default constructor.
10097
*/

0 commit comments

Comments
 (0)