BUG: Fixed incorrect memset syntax and unused_parameter warning

Change-Id: I8a9315e33faecaef4efb49323ffa98bfcae8f85f
BUG: Fix -Wunused-but-set-variable warnings for assert statements

Using NDEBUG preprocessor macro

Change-Id: Ia85b1b0405ecc9d4f2781abe691b7dbecf233370
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
Fixed erroneous commit

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

0a005a7 Fixed compiler warnings.
Merge topic '14497-fix-dashboard-warnings' into next

19c1810 Fixed erroneous commit
ce50578 BUG: Fix -Wunused-but-set-variable warnings for assert statements
11d511e BUG: Fixed incorrect memset syntax and unused_parameter warning