Merge pull request #404 from signalwire/apr_util_utf8
[apr-util] scan-build: Fix "Assigned value is garbage or undefined" in unknown_toUtf8
This commit is contained in:
commit
1c4627d35c
|
@ -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