aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index e63ca008bc..18a6e4bd7a 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -102,10 +102,7 @@ open_line (
char_u *lead_flags; /* position in 'comments' for comment leader */
char_u *leader = NULL; /* copy of comment leader */
char_u *allocated = NULL; /* allocated memory */
-#if defined(FEAT_SMARTINDENT) || defined(FEAT_VREPLACE) || defined(FEAT_LISP) \
- || defined(FEAT_CINDENT) || defined(FEAT_COMMENTS)
char_u *p;
-#endif
int saved_char = NUL; /* init for GCC */
pos_T *pos;
int do_si = (!p_paste && curbuf->b_p_si
@@ -1378,8 +1375,6 @@ void ins_bytes(char_u *p)
ins_bytes_len(p, (int)STRLEN(p));
}
-#if defined(FEAT_VREPLACE) || defined(FEAT_INS_EXPAND) \
- || defined(FEAT_COMMENTS) || defined(FEAT_MBYTE) || defined(PROTO)
/*
* Insert string "p" with length "len" at the cursor position.
* Handles Replace mode and multi-byte characters.
@@ -1402,7 +1397,6 @@ void ins_bytes_len(char_u *p, int len)
for (i = 0; i < len; ++i)
ins_char(p[i]);
}
-#endif
/*
* Insert or replace a single character at the cursor position.