From 3764cf19983e58a471ac0359509ca81b60526ce3 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Thu, 23 Aug 2012 15:03:02 -0400 Subject: cppcheck style fixes --- device-functions.c | 4 +--- parser.c | 18 +++--------------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/device-functions.c b/device-functions.c index 1ad00ba..5f3ebc4 100644 --- a/device-functions.c +++ b/device-functions.c @@ -26,15 +26,13 @@ int Set_frequency(int check_possible_only,int word_override,int range_override,i // all this does right now is check the frequency range, // and store the set value. - int check_valid; - /* abandon if high channel selected by user but not enabled by firmware */ if (channel && !globals.Flash.ChanKey_frequency) { return InvalidChannel; } if (!check_possible_only) { - int i; + int i, check_valid; for (i=0; i