diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2013-08-27 15:20:24 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2013-08-27 15:20:24 -0400 |
commit | 5e64a7f20b62cf4be6b0c92c931ddc67758e4998 (patch) | |
tree | f73c61832e90ff3ad148a8f00d2a100af3ce8da2 /src | |
parent | a0dbeaad6cad1d2ab4728d953e48d778da21df8c (diff) | |
download | slapi-nis-5e64a7f20b62cf4be6b0c92c931ddc67758e4998.tar.gz slapi-nis-5e64a7f20b62cf4be6b0c92c931ddc67758e4998.tar.xz slapi-nis-5e64a7f20b62cf4be6b0c92c931ddc67758e4998.zip |
Don't make an unnecessary check
Diffstat (limited to 'src')
-rw-r--r-- | src/format.c | 2 |
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]); } |