From fafbb772c5cff4502c08257bf0c65094cb228353 Mon Sep 17 00:00:00 2001 From: Nate Bargmann Date: Fri, 7 Mar 2014 05:55:54 -0600 Subject: [PATCH] rigctl.c/rotctl.c: fix closing brace placement A closing brace was improperly placed before a pair of CPP #endif directives rather than between them. Caught by a cppcheck audit. --- tests/rigctl.c | 2 +- tests/rotctl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rigctl.c b/tests/rigctl.c index 1adaea93f..343f7114d 100644 --- a/tests/rigctl.c +++ b/tests/rigctl.c @@ -430,8 +430,8 @@ int main (int argc, char *argv[]) free(hist_path); hist_path = (char *)NULL; } - } #endif + } #endif rig_close(my_rig); /* close port */ rig_cleanup(my_rig); /* if you care about memory */ diff --git a/tests/rotctl.c b/tests/rotctl.c index 22bd27f20..2d199ee47 100644 --- a/tests/rotctl.c +++ b/tests/rotctl.c @@ -337,8 +337,8 @@ int main (int argc, char *argv[]) free(hist_path); hist_path = (char *)NULL; } - } #endif + } #endif rot_close(my_rot); /* close port */ rot_cleanup(my_rot); /* if you care about memory */