From: Georg Brandl Date: Sun, 17 Oct 2010 06:13:26 +0000 (+0000) Subject: Fix compiler warning about unused variables. X-Git-Tag: v2.7.1rc1~142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9a6320b007f86f7c1780097045c8bdc8286c4d9;p=python Fix compiler warning about unused variables. --- diff --git a/Mac/Modules/Nav.c b/Mac/Modules/Nav.c index 7118d43c7f..d2aa7dbe93 100644 --- a/Mac/Modules/Nav.c +++ b/Mac/Modules/Nav.c @@ -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() ) {