From cc6f497897b762ba8ef96fcdd7b37218414f9f89 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 2 Jun 2020 12:56:38 +0200 Subject: [PATCH] cppcheck --- client/deps/cliparser/argtable3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/deps/cliparser/argtable3.c b/client/deps/cliparser/argtable3.c index f64688b2a..f0b6a4d37 100644 --- a/client/deps/cliparser/argtable3.c +++ b/client/deps/cliparser/argtable3.c @@ -3398,13 +3398,13 @@ void trex_free(TRex *exp) { } TRexBool trex_match(TRex *exp, const TRexChar *text) { - const TRexChar *res = NULL; exp->_bol = text; exp->_eol = text + scstrlen(text); exp->_currsubexp = 0; - res = trex_matchnode(exp, exp->_nodes, text, NULL); - if (res == NULL || res != exp->_eol) + const TRexChar *res = trex_matchnode(exp, exp->_nodes, text, NULL); + if (res == NULL || res != exp->_eol) { return TRex_False; + } return TRex_True; }