mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 18:28:19 +00:00
menu.c: remove conditional expression that is always true
This commit is contained in:
@@ -1417,7 +1417,8 @@ void ex_emenu(exarg_T *eap)
|
|||||||
idx = MENU_INDEX_NORMAL;
|
idx = MENU_INDEX_NORMAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (idx != MENU_INDEX_INVALID && menu->strings[idx] != NULL) {
|
assert(idx != MENU_INDEX_INVALID);
|
||||||
|
if (menu->strings[idx] != NULL) {
|
||||||
/* When executing a script or function execute the commands right now.
|
/* When executing a script or function execute the commands right now.
|
||||||
* Otherwise put them in the typeahead buffer. */
|
* Otherwise put them in the typeahead buffer. */
|
||||||
if (current_SID != 0)
|
if (current_SID != 0)
|
||||||
|
Reference in New Issue
Block a user