diff --git a/dvbdevice.c b/dvbdevice.c index 9e071067..aad621a9 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 4.13 2017/05/09 11:50:38 kls Exp $ + * $Id: dvbdevice.c 4.14 2018/01/25 15:09:17 kls Exp $ */ #include "dvbdevice.h" @@ -714,7 +714,7 @@ int cDvbTuner::GetSignalStrength(void) const esyslog("ERROR: frontend %d/%d: %m", adapter, frontend); return -1; } - int Signal = 0;; + int Signal = 0; if (Props[0].u.st.len > 0) { switch (Props[0].u.st.stat[0].scale) { case FE_SCALE_DECIBEL: Signal = dB1000toPercent(Props[0].u.st.stat[0].svalue, -95000, -20000); // TODO use different values for DVB-S, -T, -C? @@ -772,7 +772,7 @@ int cDvbTuner::GetSignalQuality(void) const esyslog("ERROR: frontend %d/%d: %m", adapter, frontend); return -1; } - int Cnr = 0;; + int Cnr = 0; if (Props[0].u.st.len > 0) { switch (Props[0].u.st.stat[0].scale) { case FE_SCALE_DECIBEL: Cnr = dB1000toPercent(Props[0].u.st.stat[0].svalue, 5000, 20000); // TODO use different values for DVB-S, -T, -C? diff --git a/osd.c b/osd.c index 524700ae..d29a2c41 100644 --- a/osd.c +++ b/osd.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osd.c 4.3 2015/09/10 14:12:06 kls Exp $ + * $Id: osd.c 4.4 2018/01/25 15:09:09 kls Exp $ */ #include "osd.h" @@ -1183,7 +1183,7 @@ void cPixmap::DrawPixmap(const cPixmap *Pixmap, const cRect &Dirty) t0.Shift(-Pixmap->DrawPort().Width(), 0); while (t0.Y() > Pixmap->ViewPort().Top()) t0.Shift(0, -Pixmap->DrawPort().Height()); - cPoint t = t0;; + cPoint t = t0; while (t.Y() <= Pixmap->ViewPort().Bottom()) { while (t.X() <= Pixmap->ViewPort().Right()) { cRect Source = Pixmap->DrawPort(); // assume the entire pixmap needs to be rendered diff --git a/osdbase.h b/osdbase.h index b08e8b13..cbb0e87d 100644 --- a/osdbase.h +++ b/osdbase.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osdbase.h 4.4 2017/11/09 14:57:48 kls Exp $ + * $Id: osdbase.h 4.5 2018/01/25 15:09:23 kls Exp $ */ #ifndef __OSDBASE_H @@ -91,7 +91,7 @@ private: char *title; int cols[cSkinDisplayMenu::MaxTabs]; int first, current, marked; - int lastOffset;; + int lastOffset; eMenuCategory menuCategory; eMenuSortMode menuSortMode; eMenuOrientation menuOrientation;