[sr-dev] git:sr_3.0: core: fix bogus gcc-4.4 warning