Skip to content

Commit

Permalink
Fix signature of pkg_iterator_next_package to prevent a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kontura authored and Conan-Kudo committed Mar 29, 2022
1 parent dc45424 commit d942a33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python/xml_parser-py.c
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,9 @@ pkg_iterator_dealloc(_PkgIteratorObject *self)
}

static PyObject *
pkg_iterator_next_package(_PkgIteratorObject *self, G_GNUC_UNUSED void *nothing)
pkg_iterator_next_package(PyObject *PyObject_self)
{
_PkgIteratorObject *self = (_PkgIteratorObject *) PyObject_self;
cr_Package *pkg;
GError *tmp_err = NULL;

Expand Down

0 comments on commit d942a33

Please sign in to comment.