Remove unused variables in _class_init

Detected by LLVM's CLang static analyzer
51 files changed