Remove redundant config parsing conditionals

* They are already covered in the last `else` block
This commit is contained in:
Hugo Hromic 2019-09-29 12:36:45 +01:00
parent 434dba31de
commit 6c8b3bb29d

View File

@ -251,10 +251,6 @@ bool config_file_parse(char* filename, PCONFIGURATION config) {
config->address = value;
} else if (strcmp(key, "sops") == 0) {
config->sops = strcmp("true", value) == 0;
} else if (strcmp(key, "localaudio") == 0) {
config->localaudio = strcmp("true", value) == 0;
} else if (strcmp(key, "quitappafter") == 0) {
config->quitappafter = strcmp("true", value) == 0;
} else {
for (int i=0;long_options[i].name != NULL;i++) {
if (strcmp(long_options[i].name, key) == 0) {