Mark conditionally used variable T2 as av_unused; avoids the warning: