fix build failure due to code anlysis
fix build failure due to code anlysis

projectkudu/kudu,EricSten-MSFT/kudu,shibayan/kudu,puneet-gupta/kudu,EricSten-MSFT/kudu,puneet-gupta/kudu,puneet-gupta/kudu,shibayan/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,shibayan/kudu,projectkudu/kudu,projectkudu/kudu,puneet-gupta/kudu,puneet-gupta/kudu,projectkudu/kudu,projectkudu/kudu,shibayan/kudu,EricSten-MSFT/kudu,shibayan/kudu