diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2010-07-07 17:37:44 -0700 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-07-23 13:39:28 -0700 |
commit | a24a746c029aea8c6cd66b7b6f1bf8ab5fea09ed (patch) | |
tree | e52bf0011400ed3ef73c10e1cab0d55053318543 /ldap/servers/slapd/back-ldbm/misc.c | |
parent | 5c75740c62bd228b2bde244a55467f4724ce80a4 (diff) | |
download | ds-a24a746c029aea8c6cd66b7b6f1bf8ab5fea09ed.tar.gz ds-a24a746c029aea8c6cd66b7b6f1bf8ab5fea09ed.tar.xz ds-a24a746c029aea8c6cd66b7b6f1bf8ab5fea09ed.zip |
610281 - fix coverity Defect Type: Control flow issues
https://bugzilla.redhat.com/show_bug.cgi?id=610281
11820 DEADCODE Triaged Unassigned Bug Minor Fix Required
idl_new_delete_key() ds/ldap/servers/slapd/back-ldbm/idl_new.c
Comment:
tmpid is no longer used. Since we don't define DB_ALLIDS_ON_WRITE, ALLID has no chance to be stored in the db. But the code should be fixed as follows:
Remove:
480 ID tmpid = 0;
The 496 must be
496 if (id == ALLID) {
Diffstat (limited to 'ldap/servers/slapd/back-ldbm/misc.c')
0 files changed, 0 insertions, 0 deletions