From 7f131b4f15bf11c0cbf279612e36edc91d4b8570 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 6 Jan 2013 16:02:17 +0100 Subject: [PATCH] suppress bogus compiler warning in addScanMenuTempSat --- src/gui/scan_setup.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index 98b884b44..3b95c477d 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -835,12 +835,12 @@ void CScanSetup::addScanMenuTempSat(CMenuWidget *temp_sat, sat_config_t & satcon bool unicable = (dmode == DISEQC_UNICABLE); temp_sat->addIntroItems(); - CMenuOptionNumberChooser *diseqc; - CMenuOptionNumberChooser *comm; - CMenuOptionNumberChooser *uncomm; - CMenuOptionNumberChooser *unilnb; - CMenuOptionNumberChooser *motor; - CMenuOptionChooser *usals; + CMenuOptionNumberChooser *diseqc = NULL; + CMenuOptionNumberChooser *comm = NULL; + CMenuOptionNumberChooser *uncomm = NULL; + CMenuOptionNumberChooser *unilnb = NULL; + CMenuOptionNumberChooser *motor = NULL; + CMenuOptionChooser *usals = NULL; CMenuForwarder *mf; if (!unicable) {