kopia lustrzana https://github.com/Hamlib/Hamlib
Fix compiler warnings
Fixes: simic905.c:108:9: warning: label followed by a declaration is a C23 extension [-Wc23-extensions] simic910.c:112:9: warning: label followed by a declaration is a C23 extension [-Wc23-extensions]pull/1831/head
rodzic
5b1517778e
commit
891070941f
|
@ -84,6 +84,7 @@ frameGet(int fd, unsigned char *buf)
|
|||
void frameParse(int fd, unsigned char *frame, int len)
|
||||
{
|
||||
double freq;
|
||||
int freq_len = 5;
|
||||
|
||||
if (len == 0)
|
||||
{
|
||||
|
@ -105,7 +106,6 @@ void frameParse(int fd, unsigned char *frame, int len)
|
|||
case 0x03:
|
||||
|
||||
//from_bcd(frameackbuf[2], (civ_731_mode ? 4 : 5) * 2);
|
||||
int freq_len = 5;
|
||||
|
||||
if (current_vfo == RIG_VFO_A || current_vfo == RIG_VFO_MAIN)
|
||||
{
|
||||
|
|
|
@ -85,6 +85,7 @@ frameGet(int fd, unsigned char *buf)
|
|||
void frameParse(int fd, unsigned char *frame, int len)
|
||||
{
|
||||
double freq;
|
||||
int freq_len = 5;
|
||||
|
||||
if (len == 0)
|
||||
{
|
||||
|
@ -109,7 +110,6 @@ void frameParse(int fd, unsigned char *frame, int len)
|
|||
case 0x03:
|
||||
|
||||
//from_bcd(frameackbuf[2], (civ_731_mode ? 4 : 5) * 2);
|
||||
int freq_len = 5;
|
||||
|
||||
if (current_vfo == RIG_VFO_A || current_vfo == RIG_VFO_MAIN)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue