summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorZhou Zhengping <johnzzpcrystal@gmail.com>2016-07-23 06:59:09 +0800
committerVijay Bellur <vbellur@redhat.com>2016-07-26 08:15:07 -0700
commita56635c0c44af63672b0a6fadc1a02f98eb6b251 (patch)
tree550b331efc538cc6faaa19c7bd6399ae017589ee /libglusterfs/src
parent934cae8781bf04f086f8302ef88542ee6604a576 (diff)
libglusterfs: add "_" to the name of parameter in macro code
Change-Id: I3daf10e2099a36f8ca8df35067ef9206f08fe7ef BUG: 1358922 Signed-off-by: Zhou Zhengping <johnzzpcrystal@gmail.com> Reviewed-on: http://review.gluster.org/14990 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/dict.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/dict.h b/libglusterfs/src/dict.h
index b2a700f9a92..04f0ed9b164 100644
--- a/libglusterfs/src/dict.h
+++ b/libglusterfs/src/dict.h
@@ -24,13 +24,13 @@ typedef struct _data_pair data_pair_t;
#define GF_PROTOCOL_DICT_SERIALIZE(this,from_dict,to,len,ope,labl) do { \
- int ret = 0; \
+ int _ret = 0; \
\
if (!from_dict) \
break; \
\
- ret = dict_allocate_and_serialize (from_dict, to, &len);\
- if (ret < 0) { \
+ _ret = dict_allocate_and_serialize (from_dict, to, &len);\
+ if (_ret < 0) { \
gf_msg (this->name, GF_LOG_WARNING, 0, \
LG_MSG_DICT_SERIAL_FAILED, \
"failed to get serialized dict (%s)", \