kopia lustrzana https://github.com/Hamlib/Hamlib
Fix mingw64 warnings
rodzic
8b75fc8ea6
commit
66d0dc9a5d
|
@ -665,7 +665,7 @@ int rigctl_parse(RIG *my_rig, FILE *fin, FILE *fout, char *argv[], int argc,
|
||||||
int interactive, int prompt, int *vfo_opt, char send_cmd_term,
|
int interactive, int prompt, int *vfo_opt, char send_cmd_term,
|
||||||
int *ext_resp_ptr, char *resp_sep_ptr, int use_password)
|
int *ext_resp_ptr, char *resp_sep_ptr, int use_password)
|
||||||
{
|
{
|
||||||
int retcode; /* generic return code from functions */
|
int retcode = -RIG_EINTERNAL; /* generic return code from functions */
|
||||||
unsigned char cmd;
|
unsigned char cmd;
|
||||||
struct test_table *cmd_entry = NULL;
|
struct test_table *cmd_entry = NULL;
|
||||||
|
|
||||||
|
@ -5352,7 +5352,7 @@ declare_proto_rig(get_lock_mode)
|
||||||
|
|
||||||
static int parse_hex(const char *s, unsigned char *buf, int len)
|
static int parse_hex(const char *s, unsigned char *buf, int len)
|
||||||
{
|
{
|
||||||
int i;
|
int i = 0;
|
||||||
buf[0] = 0;
|
buf[0] = 0;
|
||||||
char *s2 = strdup(s);
|
char *s2 = strdup(s);
|
||||||
char *p = strtok(s2, ";");
|
char *p = strtok(s2, ";");
|
||||||
|
|
Ładowanie…
Reference in New Issue