clang/'Dead store': remove dead code

This commit is contained in:
Jan Edmund Lazo
2019-12-25 06:36:48 -05:00
parent c740e3b4b5
commit 35c3985da6
4 changed files with 4 additions and 17 deletions

View File

@@ -479,7 +479,7 @@ win_T *mouse_find_win(int *gridp, int *rowp, int *colp)
static win_T *mouse_find_grid_win(int *gridp, int *rowp, int *colp)
{
if (*gridp == msg_grid.handle) {
rowp += msg_grid_pos;
// rowp += msg_grid_pos; // PVS: dead store #11612
*gridp = DEFAULT_GRID_HANDLE;
} else if (*gridp > 1) {
win_T *wp = get_win_by_grid_handle(*gridp);