Commit Diff


commit - 47aec13e12375ed58bd0e84d3cd199d161afc7e3
commit + 53845acef2eb80fa815289e01707cd65349dfd05
blob - e44c594d77057c75e4d5db6dfb22de0aeda8c60f
blob + e953566de0032cc4ee9988f5e863c817b904d86d
--- ui.c
+++ ui.c
@@ -179,23 +179,6 @@ global_key_unbound(void)
 	message("%s is undefined", keybuf);
 }
 
-static struct vline *
-nth_line(struct buffer *buffer, size_t n)
-{
-	struct vline	*vl;
-	size_t		 i;
-
-	i = 0;
-	TAILQ_FOREACH(vl, &buffer->head, vlines) {
-		if (i == n)
-			return vl;
-		i++;
-	}
-
-	/* unreachable */
-	abort();
-}
-
 struct buffer *
 current_buffer(void)
 {