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 db501945b132d3162943c9ca851c3c410271284f..b1502d7e6baaa830b26ee14c8dda97b2b5cb36e6 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 724e9dca8dbda39d921c233e5cb74587207d7470..e7708633da3544a0655a475cae8dc0fe03c91b35 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)