From c1a9c0b9fa141bd20cd044141c9e6da2f4327675 Mon Sep 17 00:00:00 2001 From: Zhou Zhengping Date: Sat, 23 Jul 2016 06:59:09 +0800 Subject: libglusterfs: add "_" to the name of parameter in macro code Change-Id: I3daf10e2099a36f8ca8df35067ef9206f08fe7ef BUG: 1358922 Signed-off-by: Zhou Zhengping Reviewed-on: http://review.gluster.org/14990 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Vijay Bellur --- libglusterfs/src/dict.h | 6 +++--- 1 file 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)", \ -- cgit