Fix clang-tidy script and code issue
The script would not pick up issues correctly.
Also fixed code issue found by nightly build.
Change-Id: Ia51d7b92f9f024ace254f5b98cc44e7f00702521
The script would not pick up issues correctly.
Also fixed code issue found by nightly build.
Change-Id: Ia51d7b92f9f024ace254f5b98cc44e7f00702521