summaryrefslogtreecommitdiffstats
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-08 16:38:42 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-08 16:38:42 +0200
commit09092155a66388bbd7be8d16debb35abfcfae700 (patch)
tree4cbe7f4f0d5c763405f721f7f5dba08864e53ef3 /src/misc1.c
parent83687a72155c70c062c689a9c545b5cdf5ebd0b4 (diff)
Remove unused code.
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/misc1.c b/src/misc1.c
index ef7c10c5e9..911ba4a217 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -2413,24 +2413,6 @@ pchar_cursor(c)
+ curwin->w_cursor.col) = c;
}
-#if 0 /* not used */
-/*
- * Put *pos at end of current buffer
- */
- void
-goto_endofbuf(pos)
- pos_T *pos;
-{
- char_u *p;
-
- pos->lnum = curbuf->b_ml.ml_line_count;
- pos->col = 0;
- p = ml_get(pos->lnum);
- while (*p++)
- ++pos->col;
-}
-#endif
-
/*
* When extra == 0: Return TRUE if the cursor is before or on the first
* non-blank in the line.