diff options
author | Junaid <junaid@gluster.com> | 2011-04-12 08:11:32 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-12 21:49:48 -0700 |
commit | 1b18a7d64574ca08b937113fcb19b9d851abd43c (patch) | |
tree | ac0979a14f7bb2448ba5cf645f134071a12b5add | |
parent | 214ceccb0758e62724dc2548d140aff5885391a0 (diff) |
libglusterfs/dict: Donot perform NULL check on data in dict_foreach
Signed-off-by: Junaid <junaid@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 1816 (send volume options in friend add)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1816
-rw-r--r-- | libglusterfs/src/dict.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c index 56ea68cd00e..c8f43e3161c 100644 --- a/libglusterfs/src/dict.c +++ b/libglusterfs/src/dict.c @@ -1184,9 +1184,9 @@ dict_foreach (dict_t *dict, void *data), void *data) { - if (!data || !dict) { + if (!dict) { gf_log_callingfn ("dict", GF_LOG_WARNING, - "data OR dict is NULL"); + "dict is NULL"); return; } |