tal: remove unused assigned var (scan-build warning)