Fixed build error introduced by previous commit.

Change-Id: I857fa20d8b807da7745cb7d2b6cd08a833f63dbd
Merge topic '14497-fix-compiler-warnings' into next

2316da9 Fixed build error introduced by previous commit.
Fixed compiler warnings.

Fixed certain cast, unused parameter and shadow decl warnings
Fixed incorrect memset syntax and unused_parameter warning
Fix -Wunused-but-set-variable warnings for assert statements

Change-Id: I857fa20d8b807da7745cb7d2b6cd08a833f63dbd
Merge topic '14497-fix-compiler-warnings' into next

0a005a7 Fixed compiler warnings.