summaryrefslogtreecommitdiff
path: root/src/memline.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/memline.c
parent83687a72155c70c062c689a9c545b5cdf5ebd0b4 (diff)
downloadvim-git-09092155a66388bbd7be8d16debb35abfcfae700.tar.gz
Remove unused code.
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c20
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
*/