aboutsummaryrefslogtreecommitdiff
path: root/docs/man/mmcli.8
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-06-06 15:10:49 -0700
committerAleksander Morgado <aleksander@aleksander.es>2017-06-07 09:17:15 +0200
commit75e8527987c1e225c1861a659206630305b2f31b (patch)
tree69f8f105e2efa3f2281797fe70b9da065ef3ebba /docs/man/mmcli.8
parentf4c4e364612adcb279ff8bb78a9eab127ef79e82 (diff)
helpers: remove unnecessary `>= 0' checks on guint value
This CL removes the unnecessary `>= 0' check on `mode_val' and `ind_val', which are both guint values extracted from a GArray with guint values, in mm_3gpp_parse_cmer_test_response to address the following compiler warnings: mm-modem-helpers.c:2933:22: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare] if (mode_val >= 0 && mode_val <= 3) ~~~~~~~~ ^ ~ mm-modem-helpers.c:2943:21: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare] if (ind_val >= 0 && ind_val <= 2) ~~~~~~~ ^ ~
Diffstat (limited to 'docs/man/mmcli.8')
0 files changed, 0 insertions, 0 deletions