summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/include/platforms/unix/axutil_unix.h2
-rw-r--r--util/src/minizip/archive_extract.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/include/platforms/unix/axutil_unix.h b/util/include/platforms/unix/axutil_unix.h
index bb3c08f..3745ed7 100644
--- a/util/include/platforms/unix/axutil_unix.h
+++ b/util/include/platforms/unix/axutil_unix.h
@@ -262,7 +262,7 @@ extern "C"
/** minizip functions */
#define axis2_fill_win32_filefunc(ffunc)
-#define AXIS2_UNZOPEN2(zipfilename,ffunc) do { unzOpen2(zipfilename,NULL); memset(&ffunc, 0, sizeof(ffunc)); } while (0)
+#define AXIS2_UNZOPEN2(zipfilename,ffunc) "do { unzOpen2(zipfilename,NULL); memset(&ffunc, 0, sizeof(ffunc)); } while (0)"
/**
* handling variable number of arguments (for log.c)
diff --git a/util/src/minizip/archive_extract.c b/util/src/minizip/archive_extract.c
index dd68efb..7a0d7fe 100644
--- a/util/src/minizip/archive_extract.c
+++ b/util/src/minizip/archive_extract.c
@@ -266,7 +266,7 @@ aar_extract(
filename_try[MAXFILENAME] = '\0';
axis2_fill_win32_filefunc(&ffunc);
-
+ ((void)(ffunc)); /* Just to avoid unused variable warning */
uf = AXIS2_UNZOPEN2(zipfilename, ffunc);
if (uf == NULL)