diff options
| author | Nathan Kinder <nkinder@redhat.com> | 2010-09-08 14:01:47 -0700 |
|---|---|---|
| committer | Nathan Kinder <nkinder@redhat.com> | 2010-09-09 13:40:35 -0700 |
| commit | d02e95349a038ca3f096b5432c8604b8ca478e1c (patch) | |
| tree | 4109621d18c878593aa7ecdf0b0ac70df79b9a99 /ldap/admin/src/scripts | |
| parent | 07d7c8977e783d1e9c34c25ce09f7a162a391c4a (diff) | |
| download | ds-d02e95349a038ca3f096b5432c8604b8ca478e1c.tar.gz ds-d02e95349a038ca3f096b5432c8604b8ca478e1c.tar.xz ds-d02e95349a038ca3f096b5432c8604b8ca478e1c.zip | |
Bug 630094 - (cov#11818) Fix unreachable return in snmp subagent
The return statement at the end of agt_mopen_stats() is unreachable
according to coverity. This return was removed before to fix the
coverity defect, but it was added back to fix a compiler warning.
We can satisfy both the compiler and coverity by adding a rc
variable to hold the return code. We can then return rc at the end
of the function. This also allows us to clean up all of the return
calls in this function by having all of them set rc and jump to a
label at the function end.
Diffstat (limited to 'ldap/admin/src/scripts')
0 files changed, 0 insertions, 0 deletions
