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