]> granicus.if.org Git - vim/commitdiff
patch 7.4.1763 v7.4.1763
authorBram Moolenaar <Bram@vim.org>
Thu, 21 Apr 2016 07:20:26 +0000 (09:20 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 21 Apr 2016 07:20:26 +0000 (09:20 +0200)
Problem:    Coverity: useless assignment.
Solution:   Add #if 0.

src/spell.c
src/version.c

index 3f23bf9927466d69b9a72b81a101ef2264013ff3..259f6d7df2da9ca6255ffd5ecb5ff1aff78ed945 100644 (file)
@@ -1649,7 +1649,9 @@ find_word(matchinf_T *mip, int mode)
                    }
                }
 #endif
+#if 0 /* Disabled, see below */
                c = mip->mi_compoff;
+#endif
                ++mip->mi_complen;
                if (flags & WF_COMPROOT)
                    ++mip->mi_compextra;
index 9cbce20b9419fe1040086caaa827fb799cb7909d..9ec96b2cc1e2d93b363c1dabed671a5439642610 100644 (file)
@@ -748,6 +748,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1763,
 /**/
     1762,
 /**/