diff options
| author | Noriko Hosoi <nhosoi@redhat.com> | 2010-07-02 17:46:13 -0700 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-07-23 13:35:34 -0700 |
| commit | d1946d8f5c1e2f318587c06ecd4016f9b9027783 (patch) | |
| tree | 5b48e084cb94102801eba27fc69144a57c64365e /lib/libaccess/register.cpp | |
| parent | 9533a4085bd1b5d462e322e366e470218f2b03b1 (diff) | |
| download | ds-d1946d8f5c1e2f318587c06ecd4016f9b9027783.tar.gz ds-d1946d8f5c1e2f318587c06ecd4016f9b9027783.tar.xz ds-d1946d8f5c1e2f318587c06ecd4016f9b9027783.zip | |
610281 - fix coverity Defect Type: Control flow issues
https://bugzilla.redhat.com/show_bug.cgi?id=610281
11817 DEADCODE Triaged Unassigned Bug Moderate Fix Required
NSUniqueAttr_Init() ds/ldap/servers/plugins/uiduniq/uid.c
Comment:
NSUniqueAttr_Init declared err twice. One at the top and another
in BEGIN - END (do - while loop). The second err in the do - while
loop is trashed when it gets out of the loop. Regardless of the
result in the do - while loop, err = 0 (success) was returned to
the caller.
We are removing the second err in the BEGIN (== do - while) scope.
945 int err;
Diffstat (limited to 'lib/libaccess/register.cpp')
0 files changed, 0 insertions, 0 deletions
