diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2023-05-08 14:15:48 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2023-05-08 14:15:48 -0600 |
commit | b0e1ffc45b20e3441ca58140525547c5ee04dae2 (patch) | |
tree | 911b26e90ece4311da96280bbb2ce3d5c1611669 | |
parent | b7e52eb3538d2c185e8d2947c27f18d8ec42a5c7 (diff) | |
download | sudo-b0e1ffc45b20e3441ca58140525547c5ee04dae2.tar.gz |
Eliminate dead store. Coverity CID 315032.
-rw-r--r-- | plugins/sudoers/ldap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/sudoers/ldap.c b/plugins/sudoers/ldap.c index a09567126..37b1efd19 100644 --- a/plugins/sudoers/ldap.c +++ b/plugins/sudoers/ldap.c @@ -1860,7 +1860,6 @@ sudo_ldap_result_get(const struct sudo_nss *nss, struct passwd *pw) DPRINTF1("result now has %d entries", lres->nentries); } free(filt); - filt = NULL; } else if (errno != ENOENT) { /* Out of memory? */ goto oom; |