Argh. I thought I'd removed that when the compiler complained about unused variables, but somehow it crept back in. I'll fix it.