aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/misc1.c3
-rw-r--r--src/nvim/search.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 5e40ea12f8..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
diff --git a/src/nvim/search.c b/src/nvim/search.c
index fc741955da..56f9355949 100644
--- a/src/nvim/search.c
+++ b/src/nvim/search.c
@@ -3941,8 +3941,6 @@ static int is_one_char(char_u *pattern)
return result;
}
-#if defined(FEAT_LISP) || defined(FEAT_CINDENT) || defined(FEAT_TEXTOBJ) \
- || defined(PROTO)
/*
* return TRUE if line 'lnum' is empty or has white chars only.
*/
@@ -3953,7 +3951,6 @@ int linewhite(linenr_T lnum)
p = skipwhite(ml_get(lnum));
return *p == NUL;
}
-#endif
/*
* Find identifiers or defines in included files.