mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
config: remove unused variable.
This commit is contained in:
parent
4021704e68
commit
5309da57cc
@ -4774,7 +4774,6 @@ retry:
|
|||||||
opt_expiry = selected;
|
opt_expiry = selected;
|
||||||
goto retry;
|
goto retry;
|
||||||
} else if (!strncasecmp(&input, "w", 1)) {
|
} else if (!strncasecmp(&input, "w", 1)) {
|
||||||
FILE *fcfg;
|
|
||||||
char *str, filename[PATH_MAX], prompt[PATH_MAX + 50];
|
char *str, filename[PATH_MAX], prompt[PATH_MAX + 50];
|
||||||
|
|
||||||
default_save_file(filename);
|
default_save_file(filename);
|
||||||
@ -4794,13 +4793,9 @@ retry:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
free(str);
|
free(str);
|
||||||
/*fcfg = fopen(filename, "w");
|
|
||||||
if (!fcfg) {
|
|
||||||
wlogprint("Cannot open or create file\n");
|
|
||||||
goto retry;
|
|
||||||
}*/
|
|
||||||
write_config(filename);
|
write_config(filename);
|
||||||
//fclose(fcfg);
|
|
||||||
goto retry;
|
goto retry;
|
||||||
|
|
||||||
} else if (!strncasecmp(&input, "r", 1)) {
|
} else if (!strncasecmp(&input, "r", 1)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user