Remove rpmlint warning for manual page

Fix error:
manual-page-warning /usr/share/man/man5/thermal-conf.xml.5.gz 69: warning: numeric expression expected (got `c')
Remove compile warning

Remove unused variable warning for
run_cnt