COMP: Ok, remove warnings because of removal of warnings

This commit is contained in:
Andy Cedilnik 2005-03-03 17:21:04 -05:00
parent 2d7b46f621
commit a0c095d420
1 changed files with 4 additions and 4 deletions

View File

@ -208,25 +208,25 @@ xmlrpc_env_set_fault_formatted (xmlrpc_env * const envP,
/* This version must *not* interpret 'str' as a format string, to avoid /* This version must *not* interpret 'str' as a format string, to avoid
** several evil attacks. */ ** several evil attacks. */
#define XMLRPC_FAIL(env,code,str) \ #define XMLRPC_FAIL(env,code,str) \
do { xmlrpc_env_set_fault((env),(code),(str)); if (str) goto cleanup; } while (0) do { xmlrpc_env_set_fault((env),(code),(str)); if(*(str)) goto cleanup; } while (0)
#define XMLRPC_FAIL1(env,code,str,arg1) \ #define XMLRPC_FAIL1(env,code,str,arg1) \
do { \ do { \
xmlrpc_env_set_fault_formatted((env),(code),(str),(arg1)); \ xmlrpc_env_set_fault_formatted((env),(code),(str),(arg1)); \
if (str) goto cleanup; \ if(*(str)) goto cleanup; \
} while (0) } while (0)
#define XMLRPC_FAIL2(env,code,str,arg1,arg2) \ #define XMLRPC_FAIL2(env,code,str,arg1,arg2) \
do { \ do { \
xmlrpc_env_set_fault_formatted((env),(code),(str),(arg1),(arg2)); \ xmlrpc_env_set_fault_formatted((env),(code),(str),(arg1),(arg2)); \
if (str) goto cleanup; \ if(*(str)) goto cleanup; \
} while (0) } while (0)
#define XMLRPC_FAIL3(env,code,str,arg1,arg2,arg3) \ #define XMLRPC_FAIL3(env,code,str,arg1,arg2,arg3) \
do { \ do { \
xmlrpc_env_set_fault_formatted((env),(code), \ xmlrpc_env_set_fault_formatted((env),(code), \
(str),(arg1),(arg2),(arg3)); \ (str),(arg1),(arg2),(arg3)); \
if (str) goto cleanup; \ if(*(str)) goto cleanup; \
} while (0) } while (0)
#define XMLRPC_FAIL_IF_NULL(ptr,env,code,str) \ #define XMLRPC_FAIL_IF_NULL(ptr,env,code,str) \