-
Notifications
You must be signed in to change notification settings - Fork 103
Issue 6245 - covscan fixes #6246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| slapi_pblock_set(pb, SLAPI_SEARCH_RESULT_ENTRY, NULL); | ||
| delete_search_result_set(pb, &sr); | ||
| rc = SLAPI_FAIL_GENERAL; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What coverity issue is this fixing? Just curious :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unreachable code.
There is no break in the while(1) loop but only some "goto bail;"
so the code between the end of the loop and the bail label is unreachable
8dd2d72 to
813f70e
Compare
|
Fixed the comment typo. |
Fix issues reported by coverity scan static analyzer
Issue: #6245
Reviewed by: @mreynolds389 (Thanks!)