mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-15 17:33:37 +02:00
neutrino remove useless softupdate from CmdParser()
Origin commit data
------------------
Branch: ni/coolstream
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 was generated by Migit
This commit is contained in:
@@ -2556,12 +2556,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)) {
|
||||||
|
@@ -84,7 +84,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