X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/75db34c299094d2ae87941ed464e8efa79848e16..c7a430797475bebdaf1e638f13bcae7b4026ee73:/lib/dvb/scan.cpp diff --git a/lib/dvb/scan.cpp b/lib/dvb/scan.cpp index 6549e32c..89c4735a 100644 --- a/lib/dvb/scan.cpp +++ b/lib/dvb/scan.cpp @@ -17,8 +17,8 @@ #include static bool scan_debug; -#define SCAN_eDebug(x...) if (scan_debug) eDebug(x) -#define SCAN_eDebugNoNewLine(x...) if (scan_debug) eDebugNoNewLine(x) +#define SCAN_eDebug(x...) do { if (scan_debug) eDebug(x); } while(0) +#define SCAN_eDebugNoNewLine(x...) do { if (scan_debug) eDebugNoNewLine(x); } while(0) DEFINE_REF(eDVBScan);