[pygobject] _pygi_marshal_from_py_array: Fix uninitialized variable
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] _pygi_marshal_from_py_array: Fix uninitialized variable
- Date: Mon, 11 Feb 2013 07:55:40 +0000 (UTC)
commit e6670ee26b7682e6213f71deef813ce2e7cd6730
Author: Martin Pitt <martinpitt gnome org>
Date: Mon Feb 11 08:55:19 2013 +0100
_pygi_marshal_from_py_array: Fix uninitialized variable
gi/pygi-marshal-from-py.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/pygi-marshal-from-py.c b/gi/pygi-marshal-from-py.c
index e0986a0..aa65d19 100644
--- a/gi/pygi-marshal-from-py.c
+++ b/gi/pygi-marshal-from-py.c
@@ -893,7 +893,7 @@ _pygi_marshal_from_py_array (PyGIInvokeState *state,
GIArgument *arg)
{
PyGIMarshalFromPyFunc from_py_marshaller;
- int i;
+ int i = 0;
Py_ssize_t length;
gssize item_size;
gboolean is_ptr_array;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]