Remove itu_region from rigctl_paparse.c and replace with constant 0 -- it's not used at all by any rig

pull/356/head
Michael Black W9MDB 2020-07-24 12:57:33 -05:00
rodzic 298a1be19a
commit 119f5e6eb9
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -4004,7 +4004,11 @@ declare_proto_rig(dump_state)
#define RIGCTLD_PROT_VER 1
fprintf(fout, "%d\n", RIGCTLD_PROT_VER);
fprintf(fout, "%d\n", rig->caps->rig_model);
#if 0 // deprecated -- not one rig uses this
fprintf(fout, "%d\n", rs->itu_region);
#else // need to print something to maintain backward compatbility
fprintf(fout, "%d\n", 0);
#endif
for (i = 0; i < FRQRANGESIZ && !RIG_IS_FRNG_END(rs->rx_range_list[i]); i++)
{