From 5a001ab3aa31b7d2458f54d998f3281f9bf5cb13 Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Thu, 14 Aug 2025 20:30:56 +0200 Subject: [PATCH] Explicitely initialize static int verbose --- tests/rigctlcom.c | 2 +- tests/rigctld.c | 2 +- tests/rigctlsync.c | 2 +- tests/rigctltcp.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/rigctlcom.c b/tests/rigctlcom.c index 3471e9f18..1e5dc182f 100644 --- a/tests/rigctlcom.c +++ b/tests/rigctlcom.c @@ -119,7 +119,7 @@ static int handle_ts2000(void *arg); static RIG *my_rig; /* handle to rig */ static hamlib_port_t my_com; /* handle to virtual COM port */ -static int verbose; +static int verbose = RIG_DEBUG_NONE; /* CW Skimmer can only set VFOA */ /* IC7300 for example can run VFOA on FM and VFOB on CW */ /* So -A/--mapa2b changes set_freq on VFOA to VFOB */ diff --git a/tests/rigctld.c b/tests/rigctld.c index 31f65e94c..6930a1f3a 100644 --- a/tests/rigctld.c +++ b/tests/rigctld.c @@ -135,7 +135,7 @@ static unsigned client_count; static RIG *my_rig; /* handle to rig (instance) */ static volatile int rig_opened = 0; -static int verbose; +static int verbose = RIG_DEBUG_NONE; #ifdef HAVE_SIG_ATOMIC_T static sig_atomic_t volatile ctrl_c = 0; diff --git a/tests/rigctlsync.c b/tests/rigctlsync.c index ef563888d..d42bf0823 100644 --- a/tests/rigctlsync.c +++ b/tests/rigctlsync.c @@ -109,7 +109,7 @@ void usage(); static RIG *my_rig; /* handle to rig */ static RIG *my_rig_sync; /* rig the gets synchronized -- freq only for now */ -static int verbose; +static int verbose = RIG_DEBUG_NONE; /* CW Skimmer can only set VFOA */ /* IC7300 for example can run VFOA on FM and VFOB on CW */ /* So -A/--mapa2b changes set_freq on VFOA to VFOB */ diff --git a/tests/rigctltcp.c b/tests/rigctltcp.c index e965a1a88..a927cd37d 100644 --- a/tests/rigctltcp.c +++ b/tests/rigctltcp.c @@ -139,7 +139,7 @@ static unsigned client_count; static RIG *my_rig; /* handle to rig (instance) */ static volatile int rig_opened = 0; -static int verbose; +static int verbose = RIG_DEBUG_NONE; #ifdef HAVE_SIG_ATOMIC_T static sig_atomic_t volatile ctrl_c;