kopia lustrzana https://github.com/Hamlib/Hamlib
Initialise icom_val to avoid compiler warning.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2133 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.6rc1
rodzic
8da3be80dc
commit
2f2909b6a9
|
@ -2,7 +2,7 @@
|
|||
* Hamlib CI-V backend - description of IC-746 and variations
|
||||
* Copyright (c) 2000-2003 by Stephane Fillod
|
||||
*
|
||||
* $Id: ic746.c,v 1.7 2006-09-22 19:55:58 n0nb Exp $
|
||||
* $Id: ic746.c,v 1.8 2006-10-07 20:13:22 csete Exp $
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Library General Public License as
|
||||
|
@ -611,7 +611,7 @@ static int ic746pro_get_ext_parm(RIG *rig, token_t token, value_t *val)
|
|||
const struct confparams *cfp;
|
||||
|
||||
unsigned char resbuf[MAXFRAMELEN];
|
||||
int res_len, icom_val;
|
||||
int res_len, icom_val=0;
|
||||
int cmdhead;
|
||||
int retval;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Hamlib CI-V backend - description of IC-756 and variations
|
||||
* Copyright (c) 2000-2004 by Stephane Fillod
|
||||
*
|
||||
* $Id: ic756.c,v 1.14 2006-09-22 19:55:58 n0nb Exp $
|
||||
* $Id: ic756.c,v 1.15 2006-10-07 20:13:21 csete Exp $
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Library General Public License as
|
||||
|
@ -653,7 +653,7 @@ static int ic756pro2_get_ext_parm(RIG *rig, token_t token, value_t *val)
|
|||
const struct confparams *cfp;
|
||||
|
||||
unsigned char resbuf[MAXFRAMELEN];
|
||||
int res_len, icom_val;
|
||||
int res_len, icom_val=0;
|
||||
int cmdhead;
|
||||
int retval;
|
||||
|
||||
|
@ -687,7 +687,7 @@ static int ic756pro2_get_ext_parm(RIG *rig, token_t token, value_t *val)
|
|||
retval = icom_transaction (rig, ep_cmd, ep_sc, NULL, 0,
|
||||
resbuf, &res_len);
|
||||
if (retval != RIG_OK)
|
||||
return retval;
|
||||
return retval;
|
||||
|
||||
/*
|
||||
* strbuf should contain Cn,Sc,Data area
|
||||
|
|
Ładowanie…
Reference in New Issue