From 0481b1f2afef0f32c1075d1f6759ce37fd9e4e3a Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 10 Nov 2013 19:48:22 +0100 Subject: [PATCH] scanepg: fix unused variable warning --- src/driver/scanepg.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/driver/scanepg.cpp b/src/driver/scanepg.cpp index f8aefe9d8..954645d64 100644 --- a/src/driver/scanepg.cpp +++ b/src/driver/scanepg.cpp @@ -238,7 +238,10 @@ void CEpgScan::Next() send zapTo_NOWAIT -> EIT_COMPLETE from sectionsd -> zap and this at the same time */ CFEManager::getInstance()->Lock(); - CFrontend *live_fe = NULL, *pip_fe = NULL; + CFrontend *live_fe = NULL; +#ifdef ENABLE_PIP + CFrontend *pip_fe = NULL; +#endif if (!standby) { locked = true; live_fe = CZapit::getInstance()->GetLiveFrontend();