diff --git a/cmds/statsd/src/condition/SimpleConditionTracker.cpp b/cmds/statsd/src/condition/SimpleConditionTracker.cpp index 60060fe60fbde..7e1c679f957d7 100644 --- a/cmds/statsd/src/condition/SimpleConditionTracker.cpp +++ b/cmds/statsd/src/condition/SimpleConditionTracker.cpp @@ -210,7 +210,7 @@ void SimpleConditionTracker::evaluateCondition(const LogEvent& event, return; } - if (mStopAllLogMatcherIndex >= 0 && + if (mStopAllLogMatcherIndex >= 0 && mStopAllLogMatcherIndex < int(eventMatcherValues.size()) && eventMatcherValues[mStopAllLogMatcherIndex] == MatchingState::kMatched) { handleStopAll(conditionCache, conditionChangedCache); return;