Merge "Initialize bwr.read_buffer in IPCThreadState::talkWithDriver." into ics-mr1

This commit is contained in:
Ben Cheng 2011-12-01 22:05:07 -08:00 committed by Android (Google) Code Review
commit d2e9b6b007

View File

@ -773,6 +773,7 @@ status_t IPCThreadState::talkWithDriver(bool doReceive)
bwr.read_buffer = (long unsigned int)mIn.data(); bwr.read_buffer = (long unsigned int)mIn.data();
} else { } else {
bwr.read_size = 0; bwr.read_size = 0;
bwr.read_buffer = 0;
} }
IF_LOG_COMMANDS() { IF_LOG_COMMANDS() {