[perl-Glib] Hush a compiler warning



commit aeba6587b67dde2c1837e8cf0ce43be0d2c8dcdb
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Sun Jan 20 17:36:17 2013 +0100

    Hush a compiler warning

 GLog.xs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/GLog.xs b/GLog.xs
index 4dcdb36..1aba5b5 100644
--- a/GLog.xs
+++ b/GLog.xs
@@ -123,7 +123,7 @@ gperl_log_handler (const gchar   *log_domain,
 
 	gboolean in_recursion = (log_level & G_LOG_FLAG_RECURSION) != 0;
 	gboolean is_fatal = (log_level & G_LOG_FLAG_FATAL) != 0;
-	user_data = user_data; /* unused */
+	PERL_UNUSED_VAR (user_data);
 
 	log_level &= G_LOG_LEVEL_MASK;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]