From 3d12782d16cfeda3874388619f86d26e35fc6786 Mon Sep 17 00:00:00 2001 From: damitha Date: Wed, 23 Jun 2010 03:51:42 +0000 Subject: Removed the error in macro AXIS2_UNZOPEN2 and warning 'unused variable ffunc' git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@957101 13f79535-47bb-0310-9956-ffa450edef68 --- util/include/platforms/unix/axutil_unix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/include/platforms') 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) -- cgit v1.1-32-gdbae