[pygobject] pygi-closure: remove unused variables
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygi-closure: remove unused variables
- Date: Mon, 6 Aug 2012 14:06:41 +0000 (UTC)
commit 587a0c33901383b891f8eb77351c17f06af20b4f
Author: Paolo Borelli <pborelli gnome org>
Date: Mon Aug 6 15:38:23 2012 +0200
pygi-closure: remove unused variables
These variables are assigned but never actually used
gi/pygi-closure.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gi/pygi-closure.c b/gi/pygi-closure.c
index b05f2d1..1fab07f 100644
--- a/gi/pygi-closure.c
+++ b/gi/pygi-closure.c
@@ -412,9 +412,6 @@ _pygi_closure_handle (ffi_cif *cif,
{
PyGILState_STATE state;
PyGICClosure *closure = data;
- GITypeTag return_tag;
- GITransfer return_transfer;
- GITypeInfo *return_type;
PyObject *retval;
PyObject *py_args;
GIArgument *out_args = NULL;
@@ -423,10 +420,6 @@ _pygi_closure_handle (ffi_cif *cif,
may be executing python code */
state = PyGILState_Ensure();
- return_type = g_callable_info_get_return_type (closure->info);
- return_tag = g_type_info_get_tag (return_type);
- return_transfer = g_callable_info_get_caller_owns (closure->info);
-
if (!_pygi_closure_convert_arguments ( (GICallableInfo *) closure->info, args,
closure->user_data,
&py_args, &out_args)) {
@@ -447,7 +440,6 @@ _pygi_closure_handle (ffi_cif *cif,
end:
g_free (out_args);
- g_base_info_unref ( (GIBaseInfo*) return_type);
PyGILState_Release (state);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]