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/memline.c | |
parent | 83687a72155c70c062c689a9c545b5cdf5ebd0b4 (diff) | |
download | vim-git-09092155a66388bbd7be8d16debb35abfcfae700.tar.gz |
Remove unused code.
Diffstat (limited to 'src/memline.c')
-rw-r--r-- | src/memline.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/memline.c b/src/memline.c index 16b3b3561..136f80508 100644 --- a/src/memline.c +++ b/src/memline.c @@ -3355,26 +3355,6 @@ ml_firstmarked() return (linenr_T) 0; } -#if 0 /* not used */ -/* - * return TRUE if line 'lnum' has a mark - */ - int -ml_has_mark(lnum) - linenr_T lnum; -{ - bhdr_T *hp; - DATA_BL *dp; - - if (curbuf->b_ml.ml_mfp == NULL - || (hp = ml_find_line(curbuf, lnum, ML_FIND)) == NULL) - return FALSE; - - dp = (DATA_BL *)(hp->bh_data); - return (int)((dp->db_index[lnum - curbuf->b_ml.ml_locked_low]) & DB_MARKED); -} -#endif - /* * clear all DB_MARKED flags */ |