[apr-util] scan-build: Fix "Assigned value is garbage or undefined" in unknown_toUtf8
This commit is contained in:
parent
316a190042
commit
30e5cc314a
|
@ -1225,7 +1225,7 @@ void unknown_toUtf8(const ENCODING *enc,
|
|||
const char **fromP, const char *fromLim,
|
||||
char **toP, const char *toLim)
|
||||
{
|
||||
char buf[XML_UTF8_ENCODE_MAX];
|
||||
char buf[XML_UTF8_ENCODE_MAX] = {0};
|
||||
for (;;) {
|
||||
const char *utf8;
|
||||
int n;
|
||||
|
|
Loading…
Reference in New Issue