BUG: Fixed incorrect memset syntax and unused_parameter warning

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

11d511e BUG: Fixed incorrect memset syntax and unused_parameter warning