]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: acme: stored value is overwritten before it can be used
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 15 Apr 2025 09:44:45 +0000 (11:44 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 15 Apr 2025 09:44:45 +0000 (11:44 +0200)
commit05ebb448b5df6d72e2efd290be84093ae985e49a
tree2f175aefb52cfef8849d2a356b57fcf9c57fcfbb
parent3866d3bd12bc27ebb94c76e7e1be39bf916ee8c3
CLEANUP: acme: stored value is overwritten before it can be used

   >>>     CID 1609049:  Code maintainability issues  (UNUSED_VALUE)
   >>>     Assigning value "NULL" to "new_ckchs" here, but that stored value is overwritten before it can be used.
   592             struct ckch_store *old_ckchs, *new_ckchs = NULL;

Coverity reported an issue where a variable is initialized to NULL then
directry overwritten with another value. This doesn't arm but this patch
removes the useless initialization.

Must fix issue #2932.
src/acme.c