From c9a6320b007f86f7c1780097045c8bdc8286c4d9 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 17 Oct 2010 06:13:26 +0000 Subject: [PATCH] Fix compiler warning about unused variables. --- Mac/Modules/Nav.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Mac/Modules/Nav.c b/Mac/Modules/Nav.c index 7118d43c7fb..d2aa7dbe93b 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() ) {