small cleanup
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 27 Oct 2008 22:16:43 +0000 (22:16 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 27 Oct 2008 22:16:43 +0000 (22:16 +0000)
lib/base/console.cpp
lib/base/ebase.cpp

index db50194..b1502d7 100644 (file)
@@ -834,9 +834,7 @@ static PyMethodDef module_methods[] = {
 
 void eConsoleInit(void)
 {
-       PyObject* m;
-
-       m = Py_InitModule3("eConsoleImpl", module_methods,
+       PyObject* m = Py_InitModule3("eConsoleImpl", module_methods,
                "Module that implements eConsoleAppContainer with working cyclic garbage collection.");
 
        if (m == NULL)
index 724e9dc..e770863 100644 (file)
@@ -753,9 +753,7 @@ static PyMethodDef module_methods[] = {
 
 void eBaseInit(void)
 {
-       PyObject* m;
-
-       m = Py_InitModule3("eBaseImpl", module_methods,
+       PyObject* m = Py_InitModule3("eBaseImpl", module_methods,
                "Module that implements some enigma classes with working cyclic garbage collection.");
 
        if (m == NULL)