Removed some excess ';'

This commit is contained in:
Klaus Schmidinger 2018-01-25 15:09:23 +01:00
parent a9e32ad0a5
commit 4fd2870720
3 changed files with 7 additions and 7 deletions

View File

@ -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?

4
osd.c
View File

@ -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

View File

@ -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;