diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2010-08-11 18:00:03 -0700 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-08-20 15:06:44 -0700 |
commit | d7c4d9b08b8a2974a0e810c2d7349c9df6181f7c (patch) | |
tree | 530f2040c216356ab53ef33866dd5d1e55777c37 /ldap/servers/slapd/rootdse.c | |
parent | 91785b911e95a65501e1247b008a673f73fbfaeb (diff) | |
download | ds-d7c4d9b08b8a2974a0e810c2d7349c9df6181f7c.tar.gz ds-d7c4d9b08b8a2974a0e810c2d7349c9df6181f7c.tar.xz ds-d7c4d9b08b8a2974a0e810c2d7349c9df6181f7c.zip |
Bug 623507 - fix coverity Defect Type: Incorrect expression issues
https://bugzilla.redhat.com/show_bug.cgi?id=623507
Comment:
readonly_attributes is never NULL so it's not necessary to compare
with NULL.
Diffstat (limited to 'ldap/servers/slapd/rootdse.c')
-rw-r--r-- | ldap/servers/slapd/rootdse.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ldap/servers/slapd/rootdse.c b/ldap/servers/slapd/rootdse.c index 56382b89..2368a3de 100644 --- a/ldap/servers/slapd/rootdse.c +++ b/ldap/servers/slapd/rootdse.c @@ -89,10 +89,6 @@ rootdse_is_readonly_attr( char *attr ) return 1; /* I guess. It's not really an attribute at all */ } - if ( NULL == readonly_attributes ) { - return 0; - } - /* * optimization: check for attributes we're likely to be writing * frequently. |