diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-14 18:51:22 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-14 19:28:10 -0700 |
commit | 67ee74f8e55476a45db750f1e22903b218b04ab9 (patch) | |
tree | 4a1e30f063af1fedc22be773514b529782d4fe30 /src | |
parent | 92d4bda27976b381fc1f7905e83bdb9da050261e (diff) | |
download | emacs-67ee74f8e55476a45db750f1e22903b218b04ab9.tar.gz |
Pacify GCC 13 -fanalyzer in tty_menu_activate
* src/term.c (tty_menu_activate): Trivially reword comparison
to pacify gcc -fanalyzer with GCC 13.
Diffstat (limited to 'src')
-rw-r--r-- | src/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 53ba2a231e4..2b28d3303e8 100644 --- a/src/term.c +++ b/src/term.c @@ -3319,7 +3319,7 @@ tty_menu_activate (tty_menu *menu, int *pane, int *selidx, active submenu. */ if (i != statecount - 2 || state[i].menu->submenu[dy] != state[i + 1].menu) - while (i != statecount - 1) + while (i < statecount - 1) { statecount--; screen_update (sf, state[statecount].screen_behind); |