mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 10:21:10 +02:00
neutrino remove useless softupdate from CmdParser()
Origin commit data
------------------
Commit: 138a5c9886
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-05 (Fri, 05 Jan 2024)
Origin message was:
------------------
- neutrino remove useless softupdate from CmdParser()
------------------
No further description and justification available within origin commit message!
This commit is contained in:
@@ -2552,12 +2552,10 @@ void CNeutrinoApp::CmdParser(int argc, char **argv)
|
|||||||
global_argv[argc] = NULL;
|
global_argv[argc] = NULL;
|
||||||
|
|
||||||
sections_debug = 1;
|
sections_debug = 1;
|
||||||
softupdate = false;
|
|
||||||
|
|
||||||
for(int x=1; x<argc; x++) {
|
for(int x=1; x<argc; x++) {
|
||||||
if ((!strcmp(argv[x], "-u")) || (!strcmp(argv[x], "--enable-update"))) {
|
if ((!strcmp(argv[x], "-u")) || (!strcmp(argv[x], "--enable-update"))) {
|
||||||
dprintf(DEBUG_NORMAL, "Software update enabled\n");
|
dprintf(DEBUG_NORMAL, "Software update enabled\n");
|
||||||
softupdate = true;
|
|
||||||
allow_flash = 1;
|
allow_flash = 1;
|
||||||
}
|
}
|
||||||
else if (((!strcmp(argv[x], "-v")) || (!strcmp(argv[x], "--verbose"))) && (x+1 < argc)) {
|
else if (((!strcmp(argv[x], "-v")) || (!strcmp(argv[x], "--verbose"))) && (x+1 < argc)) {
|
||||||
|
@@ -83,7 +83,6 @@ private:
|
|||||||
|
|
||||||
int mode;
|
int mode;
|
||||||
int lastMode;
|
int lastMode;
|
||||||
bool softupdate;
|
|
||||||
bool init_cec_setting;
|
bool init_cec_setting;
|
||||||
int lastChannelMode;
|
int lastChannelMode;
|
||||||
struct timeval standby_pressed_at;
|
struct timeval standby_pressed_at;
|
||||||
|
Reference in New Issue
Block a user