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:
parent
c2a59f2305
commit
dd84bf1de8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user