[sr-dev] git:master: tm: fix warning: may be used uninitialized in this function