diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-27 22:16:43 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-27 22:16:43 +0000 |
| commit | 00623b736cc9488ee71c388b0da9a8fb9071cca4 (patch) | |
| tree | 482f8b79772f6633c96205788626065dc7159396 | |
| parent | 02b8771e8b60e68dc81e1ce39f3de6f8b9122b73 (diff) | |
| download | enigma2-00623b736cc9488ee71c388b0da9a8fb9071cca4.tar.gz enigma2-00623b736cc9488ee71c388b0da9a8fb9071cca4.zip | |
small cleanup
| -rw-r--r-- | lib/base/console.cpp | 4 | ||||
| -rw-r--r-- | lib/base/ebase.cpp | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/base/console.cpp b/lib/base/console.cpp index db501945..b1502d7e 100644 --- a/lib/base/console.cpp +++ b/lib/base/console.cpp @@ -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) diff --git a/lib/base/ebase.cpp b/lib/base/ebase.cpp index 724e9dca..e7708633 100644 --- a/lib/base/ebase.cpp +++ b/lib/base/ebase.cpp @@ -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) |
