summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-03 20:49:41 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-03 20:49:41 (GMT)
commit089d339721ac9e6ce4035171c4559f5915091ed1 (patch)
tree4d5baf223ef79c279a8e75988cfd8507a5803203 /Utilities
parent2fe4e650bf4921f049d6d2cf7cc8a2a7486d1913 (diff)
downloadCMake-089d339721ac9e6ce4035171c4559f5915091ed1.zip
CMake-089d339721ac9e6ce4035171c4559f5915091ed1.tar.gz
CMake-089d339721ac9e6ce4035171c4559f5915091ed1.tar.bz2
ENH: Remove warnings
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc.h b/Utilities/cmxmlrpc/xmlrpc.h
index 127d021..aa4f136 100644
--- a/Utilities/cmxmlrpc/xmlrpc.h
+++ b/Utilities/cmxmlrpc/xmlrpc.h
@@ -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
** several evil attacks. */
#define XMLRPC_FAIL(env,code,str) \
- do { xmlrpc_env_set_fault((env),(code),(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) \
do { \
xmlrpc_env_set_fault_formatted((env),(code),(str),(arg1)); \
- goto cleanup; \
+ if (str) goto cleanup; \
} while (0)
#define XMLRPC_FAIL2(env,code,str,arg1,arg2) \
do { \
xmlrpc_env_set_fault_formatted((env),(code),(str),(arg1),(arg2)); \
- goto cleanup; \
+ if (str) goto cleanup; \
} while (0)
#define XMLRPC_FAIL3(env,code,str,arg1,arg2,arg3) \
do { \
xmlrpc_env_set_fault_formatted((env),(code), \
(str),(arg1),(arg2),(arg3)); \
- goto cleanup; \
+ if (str) goto cleanup; \
} while (0)
#define XMLRPC_FAIL_IF_NULL(ptr,env,code,str) \