Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b46b6283 authored by yidongh's avatar yidongh Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: APR: initialize struct member before being used



Initialize member value of struct apr_client_data after declaration.

CRs-Fixed: 2091948
Change-Id: I8a185ebd4126f7d064de90bf652bc96c2ab7b408
Signed-off-by: default avatarYidong Huang <yidongh@codeaurora.org>
parent 028be1cf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -748,6 +748,7 @@ void dispatch_event(unsigned long code, uint16_t proc)
	uint16_t clnt;
	int i, j;

	memset(&data, 0, sizeof(data));
	data.opcode = RESET_EVENTS;
	data.reset_event = code;