aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-07-12 14:36:18 +0200
committerJustin M. Keyes <justinkz@gmail.com>2026-07-12 15:15:46 +0200
commit83ced05984b35fa4a12af2a2b95b6ac58435044d (patch)
tree74739368d4d4e7ef70ef50eb044a1b8142371ae9 /test/functional/vimscript/executable_spec.lua
parentd25ae8b8c20cc19bc579946ea36117c0a1b378d0 (diff)
downloadrneovim-83ced05984b35fa4a12af2a2b95b6ac58435044d.tar.gz
rneovim-83ced05984b35fa4a12af2a2b95b6ac58435044d.tar.bz2
rneovim-83ced05984b35fa4a12af2a2b95b6ac58435044d.zip
fix(ctx): coverity CHECKED_RETURN
CID 649145: Error handling issues CHECKED_RETURN /src/nvim/api/window.c: 138 in nvim_win_set_cursor() 132 // Make sure we stick in this column. 133 w->w_set_curswant = true; 134 135 // make sure cursor is in visible range and 136 // cursorcolumn and cursorline are updated even if w != curwin 137 CtxSwitch switchwin; >>> CID 649145: Error handling issues (CHECKED_RETURN) >>> Calling "ctx_switch" without checking return value (as is done elsewhere 5 out of 6 times). 138 ctx_switch(&switchwin, w, NULL, NULL, kCtxNoEvents | kCtxNoDisplay); 139 update_topline(curwin); 140 validate_cursor(curwin); 141 ctx_restore(&switchwin); 142 143 redraw_later(w, UPD_VALID);
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions