Skip to content

Commit

Permalink
Fixing it again.
Browse files Browse the repository at this point in the history
  • Loading branch information
r12f committed Feb 28, 2025
1 parent c8c97dd commit f669e97
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions syncd/FlexCounter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2342,10 +2342,6 @@ std::shared_ptr<BaseCounterContext> FlexCounter::createCounterContext(
{
return std::make_shared<CounterContext<sai_policer_stat_t>>(context_name, instance, SAI_OBJECT_TYPE_POLICER, m_vendorSai.get(), m_statsMode);
}
else if (context_name == COUNTER_TYPE_POLICER)
{
return std::make_shared<CounterContext<sai_policer_stat_t>>(context_name, instance, SAI_OBJECT_TYPE_POLICER, m_vendorSai.get(), m_statsMode);
}

SWSS_LOG_THROW("Invalid counter type %s", context_name.c_str());
// GCC 8.3 requires a return value here
Expand Down

0 comments on commit f669e97

Please sign in to comment.