From: Øyvind Harboe Date: Fri, 10 Sep 2010 09:42:12 +0000 (+0200) Subject: startup: removed capture_catch X-Git-Tag: v0.5.0-rc1~404 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ea48794210037699bdde44014238c10c9968a72d;p=openocd startup: removed capture_catch not used. Signed-off-by: Øyvind Harboe --- 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 "" ######### -# catch any exceptions, capture output and return output -proc capture_catch {a} { - catch { - capture {uplevel $a} - } result - return $result -}