diff --git a/samples/Jzon.cpp b/samples/Jzon.cpp index 4435f699..7ad12fc3 100644 --- a/samples/Jzon.cpp +++ b/samples/Jzon.cpp @@ -917,7 +917,7 @@ namespace Jzon void Parser::tokenize() { - Token token; + Token token = T_UNKNOWN; std::string valueBuffer; bool saveBuffer; diff --git a/xmpsdk/src/XMPUtils-FileInfo.cpp b/xmpsdk/src/XMPUtils-FileInfo.cpp index 6f76cdc3..f0f54ba3 100644 --- a/xmpsdk/src/XMPUtils-FileInfo.cpp +++ b/xmpsdk/src/XMPUtils-FileInfo.cpp @@ -783,7 +783,7 @@ XMPUtils::CatenateArrayItems ( const XMPMeta & xmpObj, XMP_Assert ( (schemaNS != 0) && (arrayName != 0) ); // ! Enforced by wrapper. XMP_Assert ( (separator != 0) && (quotes != 0) && (catedStr != 0) && (catedLen != 0) ); // ! Enforced by wrapper. - size_t strLen, strPos, charLen; + size_t strLen=0, strPos=0, charLen=0; UniCharKind charKind; UniCodePoint currUCP, openQuote, closeQuote;