From 2c4f8774ebaff0bae2a480b408d266f5ac3a4c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sun, 1 Nov 2009 22:43:40 +0000 Subject: [PATCH] fix warning git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2756 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- kit/si570avrusb.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kit/si570avrusb.c b/kit/si570avrusb.c index c473c4185..350a017e8 100644 --- a/kit/si570avrusb.c +++ b/kit/si570avrusb.c @@ -447,6 +447,11 @@ static int calcDividers(RIG *rig, double f, struct solution* solution) return 1; } else { + solution->HS_DIV = 0; + solution->N1 = 0; + solution->f0 = 0; + solution->RFREQ = 0; + rig_debug(RIG_DEBUG_TRACE, "%s: No solution\n", __func__); return 0; } }