Suppress trivial warnings from clang compiler.

* Unused formal parameter names.
* Comparing array with null pointer.

Change-Id: I4ffc5a7a94b5bc5508b590686ce16d3ae5f579f4