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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user