[perl-Glib-Object-Introspection] Fix compilation warnings for debug variables
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib-Object-Introspection] Fix compilation warnings for debug variables
- Date: Sun, 27 Feb 2011 11:04:07 +0000 (UTC)
commit 8e9d1668817dccfbef5346ad9188159357ede09f
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Sat Feb 26 13:47:17 2011 +0000
Fix compilation warnings for debug variables
GObjectIntrospection.xs | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/GObjectIntrospection.xs b/GObjectIntrospection.xs
index bdc976a..92f25b0 100644
--- a/GObjectIntrospection.xs
+++ b/GObjectIntrospection.xs
@@ -1819,7 +1819,9 @@ _invoke (class, basename, namespace, method, ...)
gpointer *args = NULL;
gpointer func_pointer = NULL, instance = NULL;
const gchar *symbol = NULL;
+#ifdef NOISY
guint have_args;
+#endif
guint n_args, n_invoke_args;
guint n_in_args;
guint n_out_args;
@@ -1850,9 +1852,9 @@ _invoke (class, basename, namespace, method, ...)
if (is_constructor) {
stack_offset++;
}
-
+#ifdef NOISY
have_args = items - stack_offset;
-
+#endif
n_invoke_args = n_args =
g_callable_info_get_n_args ((GICallableInfo *) info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]