forked from aniani/vim
patch 7.4.1943
Problem: Coverity warns for unreachable code. Solution: Remove the code that won't do anything.
This commit is contained in:
@@ -1522,12 +1522,10 @@ handle_viminfo_mark(garray_T *values, int force)
|
||||
++idx;
|
||||
break;
|
||||
}
|
||||
/* idx cannot be zero now */
|
||||
if (idx < 0 && curwin->w_jumplistlen < JUMPLISTSIZE)
|
||||
/* insert as the oldest entry */
|
||||
idx = 0;
|
||||
else if (idx == 0 && curwin->w_jumplistlen == JUMPLISTSIZE)
|
||||
/* no space to insert as the oldest entry */
|
||||
idx = -1;
|
||||
}
|
||||
else if (curwin->w_jumplistlen < JUMPLISTSIZE)
|
||||
/* insert as oldest entry */
|
||||
|
Reference in New Issue
Block a user