From 5e64a7f20b62cf4be6b0c92c931ddc67758e4998 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Aug 27 2013 19:20:24 +0000 Subject: Don't make an unnecessary check --- diff --git a/src/format.c b/src/format.c index 8732cd8..c7910fc 100644 --- a/src/format.c +++ b/src/format.c @@ -1227,7 +1227,7 @@ format_deref_rx(struct plugin_state *state, Slapi_PBlock *pb, Slapi_Entry *e, struct format_ref_attr_list *list; /* Note that this map cares about all of these attributes. */ - if ((rel_attrs != NULL) && (attributes != NULL)) { + if (rel_attrs != NULL) { for (i = 0; attributes[i] != NULL; i++) { format_add_attrlist(rel_attrs, attributes[i]); }