X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Fstartup.tcl;fp=src%2Fhelper%2Fstartup.tcl;h=4c71a9a0f66f729e21eb2e34268c53df51a6a8d4;hp=d1c73ef3f2a188f1e05d91dd7393bda8f4cf94cb;hb=ea48794210037699bdde44014238c10c9968a72d;hpb=1abc26d7a2b7172184c64d2151bf4803699993da diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl index d1c73ef3f2..4c71a9a0f6 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 -}