summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/dict.c4
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;
}