Re: [Hamlib-developer] prosistel rotator backend
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Nate B. <n0...@n0...> - 2015-12-31 14:24:18
|
Thanks Dario.
I've applied this to the master branch. The prosistel/prosistel.c file
is generating the following compiler warnings:
Making all in prosistel
make[2]: Entering directory
'/home/nate/git/hlb/hamlib-3.1~git/_build/prosistel'
CC prosistel.lo
../../prosistel/prosistel.c: In function ‘prosistel_rot_open’:
../../prosistel/prosistel.c:129:7: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable]
int retval;
^
../../prosistel/prosistel.c: In function ‘prosistel_rot_set_position’:
../../prosistel/prosistel.c:144:15: warning: unused variable ‘retval2’ [-Wunused-variable]
int retval1, retval2;
^
../../prosistel/prosistel.c: In function ‘prosistel_rot_get_position’:
../../prosistel/prosistel.c:165:6: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable]
int retval;
^
CCLD libhamlib-prosistel.la
make[2]: Leaving directory '/home/nate/git/hlb/hamlib-3.1~git/_build/prosistel'
I did not edit them as I assume you may be planning to error test these
values in the future. I'd like to see these cleaned up before the 3.1
release.
I'll commit your patch, thanks very much! It will be pushed out in a
few minutes and will be tomorrow's daily snapshot.
73, Nate
--
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."
Ham radio, Linux, bikes, and more: http://www.n0nb.us
|