summaryrefslogtreecommitdiff
path: root/src/regexp.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-03 19:41:06 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-03 19:41:06 +0200
commit01d89dddfa710f8a014f9bb85ffff4ad35451dc9 (patch)
tree26b70a4a62e4a68f6aac6fc0caac66c43958a3e7 /src/regexp.c
parentdd2ccdf6eaf3de0a5e9a4bb3b9e08dd55168c629 (diff)
downloadvim-01d89dddfa710f8a014f9bb85ffff4ad35451dc9.zip
updated for version 7.3.1107
Problem: Compiler warnings for unused variables. Solution: Put the variables inside #ifdef.
Diffstat (limited to 'src/regexp.c')
-rw-r--r--src/regexp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 2804f8062..369516aed 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -361,8 +361,10 @@ static char_u e_missingbracket[] = N_("E769: Missing ] after %s[");
static char_u e_unmatchedpp[] = N_("E53: Unmatched %s%%(");
static char_u e_unmatchedp[] = N_("E54: Unmatched %s(");
static char_u e_unmatchedpar[] = N_("E55: Unmatched %s)");
+#ifdef FEAT_SYN_HL
static char_u e_z_not_allowed[] = N_("E66: \\z( not allowed here");
static char_u e_z1_not_allowed[] = N_("E67: \\z1 et al. not allowed here");
+#endif
#define NOT_MULTI 0
#define MULTI_ONE 1