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