More _WIN32 ifdef pruning

This commit is contained in:
Oliver Jowett 2020-08-11 13:51:16 +08:00
parent ddce32849d
commit 1d3e5c03e9
1 changed files with 0 additions and 7 deletions

View File

@ -599,7 +599,6 @@ int main(int argc, char **argv) {
Modes.mlat = 1;
} else if (!strcmp(argv[j],"--oversample")) {
// Ignored
#ifndef _WIN32
} else if (!strcmp(argv[j], "--write-json") && more) {
Modes.json_dir = strdup(argv[++j]);
} else if (!strcmp(argv[j], "--write-json-every") && more) {
@ -608,7 +607,6 @@ int main(int argc, char **argv) {
Modes.json_interval = 100;
} else if (!strcmp(argv[j], "--json-location-accuracy") && more) {
Modes.json_location_accuracy = atoi(argv[++j]);
#endif
} else if (sdrHandleOption(argc, argv, &j)) {
/* handled */
} else {
@ -629,11 +627,6 @@ int main(int argc, char **argv) {
exit(1);
}
#ifdef _WIN32
// Try to comply with the Copyright license conditions for binary distribution
if (!Modes.quiet) {showCopyright();}
#endif
if (Modes.nfix_crc > MODES_MAX_BITERRORS)
Modes.nfix_crc = MODES_MAX_BITERRORS;