mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 23:08:35 +00:00
[apr-util] scan-build: Fix "Assigned value is garbage or undefined" in unknown_toUtf8
This commit is contained in:
1 parent
316a190042
commit
30e5cc314a
1 file changed
+1
-1
@@ -1225,7 +1225,7 @@ void unknown_toUtf8(const ENCODING *enc,
|
|||||||
const char **fromP, const char *fromLim,
|
const char **fromP, const char *fromLim,
|
||||||
char **toP, const char *toLim)
|
char **toP, const char *toLim)
|
||||||
{
|
{
|
||||||
char buf[XML_UTF8_ENCODE_MAX];
|
char buf[XML_UTF8_ENCODE_MAX] = {0};
|
||||||
for (;;) {
|
for (;;) {
|
||||||
const char *utf8;
|
const char *utf8;
|
||||||
int n;
|
int n;
|
||||||
|
|||||||
Reference in new issue
Block a user