[perl-Pango] Hush a few compiler warnings
- From: Torsten SchÃnfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Pango] Hush a few compiler warnings
- Date: Sun, 20 Jan 2013 16:46:52 +0000 (UTC)
commit 9423d3af6daab029679e5ece77db7a57e0da3e6c
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date: Sun Jan 20 17:46:30 2013 +0100
Hush a few compiler warnings
xs/PangoAttributes.xs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/xs/PangoAttributes.xs b/xs/PangoAttributes.xs
index 9551f4b..c69f1c9 100644
--- a/xs/PangoAttributes.xs
+++ b/xs/PangoAttributes.xs
@@ -39,6 +39,8 @@ pango_color_wrap (GType gtype,
{
PangoColor *color = boxed;
AV *av;
+ PERL_UNUSED_VAR (gtype);
+ PERL_UNUSED_VAR (package);
if (!color)
return &PL_sv_undef;
@@ -66,6 +68,8 @@ pango_color_unwrap (GType gtype,
PangoColor *color;
AV * av;
SV ** v;
+ PERL_UNUSED_VAR (gtype);
+ PERL_UNUSED_VAR (package);
if (!gperl_sv_is_defined (sv))
return NULL;
@@ -97,6 +101,7 @@ static void
pango_color_destroy (SV * sv)
{
/* We allocated nothing in wrap, so do nothing here. */
+ PERL_UNUSED_VAR (sv);
}
/* ------------------------------------------------------------------------- */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]