add the name of missing skin element to debug output
[enigma2.git] / lib / base / eerror.h
index 2d4e979038d244f40ef1172f9324a52217f4b332..e7c33a0bb8d3dfb08d8abe0b8eff8bb54a4aee5f 100644 (file)
@@ -135,17 +135,13 @@ enum { lvlDebug=1, lvlWarning=2, lvlFatal=4 };
     inline void eWarning(const char* fmt, ...)
     {
     }
-    #define ASSERT(x) do { x; } while (0)
+    #define ASSERT(x) do { } while (0)
 #endif //DEBUG
 
 void eWriteCrashdump();
 
 #endif // SWIG
 
-#ifndef DEBUG
-inline void ePythonOutput(const char *)
-{
-}
-#endif
+void ePythonOutput(const char *);
 
 #endif // __E_ERROR__