core: fix some warnings
6 files changed