Reverting r27437 as per Axel's advice. The variable size is initialized by the

call to ElementAt. Marked CID 1306 as false.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27451 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ryan Leavengood 2008-09-12 13:46:50 +00:00
parent c2a59f2305
commit dd84bf1de8
1 changed files with 1 additions and 1 deletions

View File

@ -630,7 +630,7 @@ KMessage::Dump(void (*printFunc)(const char*, ...)) const
if (field.CountElements() != 1)
printFunc("\n");
int32 size = 0;
int32 size;
for (int i = 0; const void* data = field.ElementAt(i, &size); i++) {
if (field.CountElements() != 1)
printFunc(" [%2d] ", i);