className(): remove unused argument object for the className(foo) variant

some compilers may warn about this under some circumstances.