DescriptionAvoid an extra if() which is not required and is wrong
Info:
a) args[i] is uninitialized for (i >= ipc_params->GetParamsCount())
and sometimes for smaller (i) as well (see GetArgs()).
Hence, if() is wrong.
b) However, when args[i] is uninitialized the ipc_params->args[i] holds INVALID_TYPE.
Hence, the if() is redundant.
BUG=87078
TEST=no more uninit reports under Dr. Memory
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90742
Patch Set 1 #Patch Set 2 : '' #Messages
Total messages: 5 (0 generated)
|