Skip to content

Commit 5288df2

Browse files
committed
Remove shadowed variables befor loops
1 parent 1d6686d commit 5288df2

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

src/operators/verify_cpf.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ bool VerifyCPF::evaluate(Transaction *t, RuleWithActions *rule,
112112
const std::string& input, RuleMessage &ruleMessage) {
113113
std::list<SMatch> matches;
114114
bool is_cpf = false;
115-
int i;
116115

117116
if (m_param.empty()) {
118117
return false;

src/operators/verify_ssn.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ bool VerifySSN::evaluate(Transaction *t, RuleWithActions *rule,
114114
const std::string& input, RuleMessage &ruleMessage) {
115115
std::list<SMatch> matches;
116116
bool is_ssn = false;
117-
int i;
118117

119118
if (m_param.empty()) {
120119
return false;

src/operators/verify_svnr.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ bool VerifySVNR::evaluate(Transaction *t, RuleWithActions *rule,
8181
const std::string& input, RuleMessage &ruleMessage) {
8282
std::list<SMatch> matches;
8383
bool is_svnr = false;
84-
int i;
8584

8685
if (m_param.empty()) {
8786
return is_svnr;

0 commit comments

Comments
 (0)