Fixed warning in release mode.