Addressed a minor compiling issue on Linux.

We would get a warning about the 'ok' value being set but not used.