libgsf r1022 - in trunk: . gsf
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: libgsf r1022 - in trunk: . gsf
- Date: Sat, 8 Nov 2008 15:37:05 +0000 (UTC)
Author: mortenw
Date: Sat Nov 8 15:37:05 2008
New Revision: 1022
URL: http://svn.gnome.org/viewvc/libgsf?rev=1022&view=rev
Log:
2008-11-08 Morten Welinder <terra gnome org>
* gsf/gsf-output-bzip.c: Pretend to use args in the
don't-have-bzip case.
* gsf/gsf-intput-bzip.c: Pretend to use args in the
don't-have-bzip case.
Modified:
trunk/ChangeLog
trunk/gsf/gsf-input-bzip.c
trunk/gsf/gsf-output-bzip.c
Modified: trunk/gsf/gsf-input-bzip.c
==============================================================================
--- trunk/gsf/gsf-input-bzip.c (original)
+++ trunk/gsf/gsf-input-bzip.c Sat Nov 8 15:37:05 2008
@@ -44,6 +44,7 @@
gsf_input_memory_new_from_bzip (GsfInput *source, GError **err)
{
#ifndef HAVE_BZ2
+ (void)source;
if (err)
*err = g_error_new (gsf_input_error_id (), 0,
"BZ2 support not enabled");
Modified: trunk/gsf/gsf-output-bzip.c
==============================================================================
--- trunk/gsf/gsf-output-bzip.c (original)
+++ trunk/gsf/gsf-output-bzip.c Sat Nov 8 15:37:05 2008
@@ -165,6 +165,9 @@
return TRUE;
#else
+ (void)output;
+ (void)num_bytes;
+ (void)data;
return FALSE;
#endif
}
@@ -208,6 +211,8 @@
bzip->stream.avail_in = bzip->stream.avail_out = 0;
bzip->buf = NULL;
bzip->buf_size = 0;
+#else
+ (void)obj;
#endif
}
@@ -258,6 +263,7 @@
return GSF_OUTPUT (bzip);
#else
+ (void)sink;
if (err)
*err = g_error_new (gsf_output_error_id (), 0,
"BZ2 support not enabled");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]