apply some code analyzer recommendations
This commit is contained in:
@@ -85,7 +85,7 @@ void FilterItem::rename() {
|
||||
QString ms;
|
||||
PICodeInfo::EnumInfo * ei = PICODEINFO::enums().value("PIPacketExtractor::SplitMode", 0);
|
||||
if (ei) {
|
||||
piForeachC(PICodeInfo::EnumeratorInfo & i, ei->members)
|
||||
for (const auto & i: ei->members)
|
||||
if (i.value == mode()) {
|
||||
#if PIP_VERSION >= PIP_MAKE_VERSION(2, 39, 0)
|
||||
ms = PI2QString(i.name.toString());
|
||||
|
||||
Reference in New Issue
Block a user