OpenRTX / dmrconfig

Configuration utility for DMR radios
BSD 3-Clause "New" or "Revised" License
240 stars 56 forks source link

Remove unused variable. #74

Closed garthk closed 1 year ago

garthk commented 1 year ago

nchan was set and maintained but never used in the parse_zones and parse_scanlist functions for six radios, resulting in this error with clang 15.0.0 and zig 0.11.0:

dm1801.c:1808:15: error: variable 'nchan' set but not used [-Werror,-Wunused-but-set-variable]
        int   nchan = 0;
garthk commented 1 year ago

As a side-effect, proof of compilation without other errors might help close out #65 and #66 which @keisisqrl fixed in #67?