]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.578 v7.3.578
authorBram Moolenaar <Bram@vim.org>
Fri, 29 Jun 2012 14:19:50 +0000 (16:19 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 29 Jun 2012 14:19:50 +0000 (16:19 +0200)
Problem:    Misplaced declaration.
Solution:   Move declaration to start of block.

src/if_py_both.h
src/version.c

index f627f67af8cfdc9d03bf3cbb4dc3013cfe1a15af..d828358e7ff8322d9bb9a34d30e04a27a6ab9c71 100644 (file)
@@ -818,21 +818,21 @@ DictionaryAssItem(PyObject *self, PyObject *keyObject, PyObject *valObject)
 
     if (valObject == NULL)
     {
+       hashitem_T      *hi;
+
        if (di == NULL)
        {
            PyErr_SetString(PyExc_IndexError, _("no such key in dictionary"));
            return -1;
        }
-       hashitem_T      *hi = hash_find(&d->dv_hashtab, di->di_key);
+       hi = hash_find(&d->dv_hashtab, di->di_key);
        hash_remove(&d->dv_hashtab, hi);
        dictitem_free(di);
        return 0;
     }
 
     if (ConvertFromPyObject(valObject, &tv) == -1)
-    {
        return -1;
-    }
 
     if (di == NULL)
     {
index 58bb4732c00c4b6621cff8a1a9c616fe73bc8310..9ab5188f876f8040debc7b2e665b305b5d033c76 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    578,
 /**/
     577,
 /**/