Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.2(EOL)
-
None
Description
mariadb-10.2.11/storage/mroonga/vendor/groonga/lib/ts/ts_expr_parser.c:675]: (style) Expression is always false because 'else if' condition matches previous condition at line 672.
Source code is
if ((str.size >= 2) && (str.ptr[1] == '&'))
{ token_str.size = 2; op_type = GRN_TS_OP_LOGICAL_AND; } else if ((str.size >= 2) && (str.ptr[1] == '&')) {
token_str.size = 2;
op_type = GRN_TS_OP_LOGICAL_SUB;