Skip to content

Commit c6e3318

Browse files
committed
Remove branch
1 parent 63ade07 commit c6e3318

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

k4FWCore/src/KeepDropSwitch.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,7 @@ bool KeepDropSwitch::getFlag(const std::string& astring) const noexcept {
9696
bool match = wildcmp(pattern.c_str(), astring.c_str());
9797
if (not match)
9898
continue;
99-
else if (cmd == Cmd::KEEP)
100-
flag = true;
101-
else
102-
flag = false;
99+
flag = (cmd == Cmd::KEEP);
103100
}
104101
return flag;
105102
}

0 commit comments

Comments
 (0)