Remove set but unused variable errors in src.

Hamlib-1.2.15
Nate Bargmann 2011-08-24 21:39:40 -05:00
rodzic b9b270a1fb
commit f3fe7bffc8
2 zmienionych plików z 0 dodań i 6 usunięć

Wyświetl plik

@ -342,11 +342,9 @@ static int frontend_set_conf(RIG *rig, token_t token, const char *val)
*/
static int frontend_get_conf(RIG *rig, token_t token, char *val)
{
const struct rig_caps *caps;
struct rig_state *rs;
const char *s;
caps = rig->caps;
rs = &rig->state;
switch(token) {

Wyświetl plik

@ -124,11 +124,9 @@ static const struct confparams rotfrontend_serial_cfg_params[] = {
*/
int frontrot_set_conf(ROT *rot, token_t token, const char *val)
{
const struct rot_caps *caps;
struct rot_state *rs;
int val_i;
caps = rot->caps;
rs = &rot->state;
switch(token) {
@ -234,11 +232,9 @@ int frontrot_set_conf(ROT *rot, token_t token, const char *val)
*/
int frontrot_get_conf(ROT *rot, token_t token, char *val)
{
const struct rot_caps *caps;
struct rot_state *rs;
const char *s;
caps = rot->caps;
rs = &rot->state;
switch(token) {