[MDEV-14539] mariadb-10.2.11/storage/mroonga/vendor/groonga/lib/ts/ts_expr_parser.c:675: bad if ? Created: 2017-11-29 Updated: 2021-11-09 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Mroonga |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | David Binderman | Assignee: | Kouhei Sutou |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | 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] == '&')) { |