[sr-dev] git:3.2: core and modules: fix compile warning