From 2b2a86ea2e22598f2e53377d9c22e77005c8e275 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 20 Jun 2010 15:08:08 +0200 Subject: [PATCH] Moved some functions into the Libisofs_with_zliB case which caused compiler warnings on OpenSuse Build Service. --- libisofs/filters/zisofs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libisofs/filters/zisofs.c b/libisofs/filters/zisofs.c index e34092d..ee5d6a7 100644 --- a/libisofs/filters/zisofs.c +++ b/libisofs/filters/zisofs.c @@ -830,6 +830,9 @@ int ziso_cmp_ino(IsoStream *s1, IsoStream *s2) /* ------------------------------------------------------------------------- */ + +#ifdef Libisofs_with_zliB + static void ziso_filter_free(FilterContext *filter) { @@ -917,8 +920,6 @@ int ziso_filter_get_uncompressor(FilterContext *filter, IsoStream *original, } -#ifdef Libisofs_with_zliB - /* Produce a parameter object suitable for iso_file_add_filter(). * It may be disposed by free() after all those calls are made. *