CheckClass: Fixed GCC warning