summaryrefslogtreecommitdiffstats
path: root/src/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format.c')
-rw-r--r--src/format.c2
1 files changed, 1 insertions, 1 deletions
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]);
}