diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
commit | 09092155a66388bbd7be8d16debb35abfcfae700 (patch) | |
tree | 4cbe7f4f0d5c763405f721f7f5dba08864e53ef3 /src/misc1.c | |
parent | 83687a72155c70c062c689a9c545b5cdf5ebd0b4 (diff) | |
download | vim-git-09092155a66388bbd7be8d16debb35abfcfae700.tar.gz |
Remove unused code.
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/misc1.c b/src/misc1.c index ef7c10c5e..911ba4a21 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. |