From aad26e5ef53f053ef3920e605a05cf3f524340f5 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 18 Jul 2013 14:42:09 +0400 Subject: [PATCH] gui/videosettings.cpp: fix unused variable Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e6af083de8d4e9b10258561ba3780978e34693df Author: [CST] Focus Date: 2013-07-18 (Thu, 18 Jul 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/videosettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/videosettings.cpp b/src/gui/videosettings.cpp index b1927c04a..5a8b89623 100644 --- a/src/gui/videosettings.cpp +++ b/src/gui/videosettings.cpp @@ -330,7 +330,6 @@ int CVideoSettings::showVideoSetup() void CVideoSettings::setVideoSettings() { printf("[neutrino VideoSettings] %s init video settings...\n", __FUNCTION__); - unsigned int system_rev = cs_get_revision(); #if 0 //FIXME focus: ?? this is different for different boxes videoDecoder->SetVideoMode((analog_mode_t) g_settings.analog_mode1); @@ -339,6 +338,7 @@ void CVideoSettings::setVideoSettings() #ifdef BOXMODEL_APOLLO changeNotify(LOCALE_VIDEOMENU_ANALOG_MODE, NULL); #else + unsigned int system_rev = cs_get_revision(); if (system_rev == 0x06) { changeNotify(LOCALE_VIDEOMENU_ANALOG_MODE, NULL); } else {