summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-09-10 11:42:12 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-09-20 20:45:48 +0200
commitea48794210037699bdde44014238c10c9968a72d (patch)
tree88251f0daa62741a70b17bdb1881b4b520914bf7
parent1abc26d7a2b7172184c64d2151bf4803699993da (diff)
downloadopenocd_libswd-ea48794210037699bdde44014238c10c9968a72d.tar.gz
openocd_libswd-ea48794210037699bdde44014238c10c9968a72d.tar.bz2
openocd_libswd-ea48794210037699bdde44014238c10c9968a72d.tar.xz
openocd_libswd-ea48794210037699bdde44014238c10c9968a72d.zip
startup: removed capture_catch
not used. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
-rw-r--r--src/helper/startup.tcl7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl
index d1c73ef3..4c71a9a0 100644
--- a/src/helper/startup.tcl
+++ b/src/helper/startup.tcl
@@ -61,10 +61,3 @@ add_usage_text script "<file>"
#########
-# catch any exceptions, capture output and return output
-proc capture_catch {a} {
- catch {
- capture {uplevel $a}
- } result
- return $result
-}