aboutsummaryrefslogtreecommitdiff
path: root/lib/base
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-27 22:16:43 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-27 22:16:43 +0000
commit00623b736cc9488ee71c388b0da9a8fb9071cca4 (patch)
tree482f8b79772f6633c96205788626065dc7159396 /lib/base
parent02b8771e8b60e68dc81e1ce39f3de6f8b9122b73 (diff)
downloadenigma2-00623b736cc9488ee71c388b0da9a8fb9071cca4.tar.gz
enigma2-00623b736cc9488ee71c388b0da9a8fb9071cca4.zip
small cleanup
Diffstat (limited to 'lib/base')
-rw-r--r--lib/base/console.cpp4
-rw-r--r--lib/base/ebase.cpp4
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)