[perl-Cairo] Hush a few compiler warnings



commit 1212fca88443420a545124c236ec8b90ccf108bd
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Sun Jan 20 17:42:41 2013 +0100

    Hush a few compiler warnings

 Cairo.xs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/Cairo.xs b/Cairo.xs
index 8c1e3ad..844be14 100644
--- a/Cairo.xs
+++ b/Cairo.xs
@@ -428,6 +428,7 @@ BOOT:
 # The VERSION fallback is implemented in lib/Cairo.pm.
 int LIB_VERSION (...)
     CODE:
+	PERL_UNUSED_VAR (items);
 	RETVAL = CAIRO_VERSION;
     OUTPUT:
 	RETVAL
@@ -438,6 +439,7 @@ int LIB_VERSION_ENCODE (...)
     PREINIT:
 	int major, minor, micro;
     CODE:
+	PERL_UNUSED_VAR (ix);
 	if (items == 3) {
 		major = SvIV (ST (0));
 		minor = SvIV (ST (1));
@@ -460,6 +462,8 @@ int cairo_version (class=NULL)
 	lib_version = 1
     C_ARGS:
 	/* void */
+    CLEANUP:
+	PERL_UNUSED_VAR (ix);
 
 # const char* cairo_version_string ();
 const char* cairo_version_string (class=NULL)
@@ -467,6 +471,8 @@ const char* cairo_version_string (class=NULL)
 	lib_version_string = 1
     C_ARGS:
 	/* void */
+    CLEANUP:
+	PERL_UNUSED_VAR (ix);
 
 # ---------------------------------------------------------------------------- #
 



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