updated for version 7.3.578
Problem: Misplaced declaration.
Solution: Move declaration to start of block.
diff --git a/src/if_py_both.h b/src/if_py_both.h
index f627f67..d828358 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -818,21 +818,21 @@
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)
{
diff --git a/src/version.c b/src/version.c
index 58bb473..9ab5188 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 578,
+/**/
577,
/**/
576,