diff options
author | Zhou Zhengping <johnzzpcrystal@gmail.com> | 2016-07-23 06:59:09 +0800 |
---|---|---|
committer | gluster-ant <bugzilla-bot@gluster.org> | 2016-07-23 06:59:09 +0800 |
commit | c1a9c0b9fa141bd20cd044141c9e6da2f4327675 (patch) | |
tree | 4a372f3ec1f608f48841b338ed908446301404ca | |
parent | 258b14a7546dbe5354184f804ed7d73561e11277 (diff) | |
download | glusterfs-c1a9c0b9fa141bd20cd044141c9e6da2f4327675.tar.gz glusterfs-c1a9c0b9fa141bd20cd044141c9e6da2f4327675.tar.xz glusterfs-c1a9c0b9fa141bd20cd044141c9e6da2f4327675.zip |
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>
-rw-r--r-- | libglusterfs/src/dict.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/dict.h b/libglusterfs/src/dict.h index b2a700f9a9..04f0ed9b16 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)", \ |