From: Spencer Oliver Date: Wed, 30 Nov 2011 09:54:19 +0000 (+0000) Subject: openocd.c: whitespace cleanup X-Git-Tag: v0.6.0-rc1~382 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5165afc00562d175aa3a0d752a8c709e23984ed9;p=openocd openocd.c: whitespace cleanup Change-Id: Ieb8c1e4eb72f66a6343b169a12a058555d67069e Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/242 Tested-by: jenkins --- 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;