From 5165afc00562d175aa3a0d752a8c709e23984ed9 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Wed, 30 Nov 2011 09:54:19 +0000 Subject: [PATCH] openocd.c: whitespace cleanup Change-Id: Ieb8c1e4eb72f66a6343b169a12a058555d67069e Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/242 Tested-by: jenkins --- src/openocd.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/openocd.c b/src/openocd.c index 66555e60..3f0e1428 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -47,7 +47,6 @@ #include #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; -- 2.39.5