mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
cppcheck
This commit is contained in:
parent
422e018718
commit
cc6f497897
1 changed files with 3 additions and 3 deletions
|
@ -3398,13 +3398,13 @@ void trex_free(TRex *exp) {
|
||||||
}
|
}
|
||||||
|
|
||||||
TRexBool trex_match(TRex *exp, const TRexChar *text) {
|
TRexBool trex_match(TRex *exp, const TRexChar *text) {
|
||||||
const TRexChar *res = NULL;
|
|
||||||
exp->_bol = text;
|
exp->_bol = text;
|
||||||
exp->_eol = text + scstrlen(text);
|
exp->_eol = text + scstrlen(text);
|
||||||
exp->_currsubexp = 0;
|
exp->_currsubexp = 0;
|
||||||
res = trex_matchnode(exp, exp->_nodes, text, NULL);
|
const TRexChar *res = trex_matchnode(exp, exp->_nodes, text, NULL);
|
||||||
if (res == NULL || res != exp->_eol)
|
if (res == NULL || res != exp->_eol) {
|
||||||
return TRex_False;
|
return TRex_False;
|
||||||
|
}
|
||||||
return TRex_True;
|
return TRex_True;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue