Compare commits

...

1 Commits

Author SHA1 Message Date
Bram Moolenaar
f27839c1a9 updated for version 7.3.578
Problem:    Misplaced declaration.
Solution:   Move declaration to start of block.
2012-06-29 16:19:50 +02:00
2 changed files with 5 additions and 3 deletions

View 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)
{

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
578,
/**/
577,
/**/