Rename vars for *_get_value for consistency
Suppress unused var warning
Make MMDB status/error code an int everywhere