BUG#: 3642
authorjim.wunderlich <jim.wunderlich>
Wed, 15 Jun 2005 03:41:51 +0000 (03:41 +0000)
committerjim.wunderlich <jim.wunderlich>
Wed, 15 Jun 2005 03:41:51 +0000 (03:41 +0000)
TITLE: Binary repository uses compiler-specific encoding for Boolean values

DESCRIPTION: Forgot this change (init arraysize to 0)

src/Pegasus/Common/BinaryStreamer.cpp

index 3f111be99c6a12b1626864a4547f66851381d5ec..24c0e78912cc14f01e6f771bac20b29ea6b71893 100644 (file)
@@ -468,7 +468,7 @@ void BinaryStreamer::_unpackValue(
     Boolean isArray;
     Packer::unpackBoolean(in, pos, isArray);
 
-    Uint32 arraySize;
+    Uint32 arraySize = 0;
 
     if (isArray)
        Packer::unpackSize(in, pos, arraySize);