creds: drop unnecessary initialization

Coverity also thinks a leak happens here, CID #1458112.
This seems wrong, but let's add an assert, maybe that'll help.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-07-09 15:13:12 +02:00
parent 1421705d9a
commit bc1f27ff55
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -645,6 +645,7 @@ ssize_t base64mem_full(
*z = 0;
*out = r;
assert(z >= r); /* Let static analyzers know that the answer is non-negative. */
return z - r;
}