[vim] 88/139: patch 7.4.1771 Problem: Warning for unused variable. Solution: Add #ifdef. (John Marriott)

James McCoy jamessan at debian.org
Fri May 6 04:00:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch debian/sid
in repository vim.

commit 21decdd3e6d5ce3469a3c2743de1f4aada388d8c
Author: Bram Moolenaar <Bram at vim.org>
Date:   Fri Apr 22 10:00:58 2016 +0200

    patch 7.4.1771
    Problem:    Warning for unused variable.
    Solution:   Add #ifdef. (John Marriott)
---
 src/eval.c    | 2 ++
 src/version.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/eval.c b/src/eval.c
index 3542b77..e771291 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -98,7 +98,9 @@ static char *e_listarg = N_("E686: Argument of %s must be a List");
 static char *e_listdictarg = N_("E712: Argument of %s must be a List or Dictionary");
 static char *e_listreq = N_("E714: List required");
 static char *e_dictreq = N_("E715: Dictionary required");
+#ifdef FEAT_QUICKFIX
 static char *e_stringreq = N_("E928: String required");
+#endif
 static char *e_toomanyarg = N_("E118: Too many arguments for function: %s");
 static char *e_dictkey = N_("E716: Key not present in Dictionary: %s");
 static char *e_funcexts = N_("E122: Function %s already exists, add ! to replace it");
diff --git a/src/version.c b/src/version.c
index bb32541..725d774 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1771,
+/**/
     1770,
 /**/
     1769,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git



More information about the pkg-vim-maintainers mailing list