patch 7.4.1943
Problem:    Coverity warns for unreachable code.
Solution:   Remove the code that won't do anything.
diff --git a/src/mark.c b/src/mark.c
index 72a9a92..264124f 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -1522,12 +1522,10 @@
 			++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 */