Commit c9a6320b authored by Georg Brandl's avatar Georg Brandl

Fix compiler warning about unused variables.

parent 95898c42
......@@ -930,16 +930,15 @@ static char Nav_module_documentation[] =
void
initNav(void)
{
PyObject *m, *d;
if (PyErr_WarnPy3k("In 3.x, the Nav module is removed.", 1))
return;
#ifdef __LP64__
PyErr_SetString(PyExc_ImportError, "Navigation Services not available in 64-bit mode");
return;
#else /* !__LP64__ */
PyObject *m, *d;
if (PyErr_WarnPy3k("In 3.x, the Nav module is removed.", 1))
return;
/* Test that we have NavServices */
if ( !NavServicesAvailable() ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment