Fixed warning about unused private field.

Because of we treat warnings as errors it results in compile error.