covscan: fix compiler warnings
2 files changed