aboutsummaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2011-11-30 09:54:19 +0000
committerSpencer Oliver <spen@spen-soft.co.uk>2011-12-02 12:25:17 +0000
commit5165afc00562d175aa3a0d752a8c709e23984ed9 (patch)
tree2d8dd6d2594c79e2fe1b0d58b1025b6b71f46386 /src/openocd.c
parentd6a1ff8399ad4ca8757f523754d1a5e4ce696d63 (diff)
downloadriscv-openocd-5165afc00562d175aa3a0d752a8c709e23984ed9.zip
riscv-openocd-5165afc00562d175aa3a0d752a8c709e23984ed9.tar.gz
riscv-openocd-5165afc00562d175aa3a0d752a8c709e23984ed9.tar.bz2
openocd.c: whitespace cleanup
Change-Id: Ieb8c1e4eb72f66a6343b169a12a058555d67069e Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/242 Tested-by: jenkins
Diffstat (limited to 'src/openocd.c')
-rw-r--r--src/openocd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/openocd.c b/src/openocd.c
index 66555e6..3f0e142 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -47,7 +47,6 @@
#include <strings.h>
#endif
-
#define OPENOCD_VERSION \
"Open On-Chip Debugger " VERSION RELSTR " (" PKGBLDDATE ")"
@@ -62,15 +61,15 @@ static int jim_version_command(Jim_Interp *interp, int argc,
const char *str = "";
char * version_str;
version_str = OPENOCD_VERSION;
-
+
if (argc == 2)
str = Jim_GetString(argv[1], NULL);
if (strcmp("git", str) == 0)
{
version_str = GITVERSION;
- }
-
+ }
+
Jim_SetResult(interp, Jim_NewStringObj(interp, version_str, -1));
return JIM_OK;