[sr-dev] git:4.1: core: fixed several clang compiler warnings