[rootcheck] fix compiler warnings
[rootcheck] fix clang analyzer warnings
[rootcheck] fix CID 28592, by deleting unused function start_rk_daemon()
[rootcheck] fix CID 28593
[rootcheck] fix CID 28440
[rootcheck] fix CID 28477
[rootcheck] fix CID 28449
Merge pull request #368 from cgzones/rootcheck

rootcheck