From: zwelch Date: Mon, 11 May 2009 22:37:52 +0000 (+0000) Subject: Remove duplicate definition of encode in httpd.tcl. X-Git-Tag: v0.2.0~760 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=f5e028bc46f6b3eee4fb3f93b5ef068238b03f40 Remove duplicate definition of encode in httpd.tcl. git-svn-id: svn://svn.berlios.de/openocd/trunk@1749 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/server/httpd/httpd.tcl b/src/server/httpd/httpd.tcl index 5b012681a6..dfa9e335cb 100644 --- a/src/server/httpd/httpd.tcl +++ b/src/server/httpd/httpd.tcl @@ -94,11 +94,6 @@ proc lunion {a b} { } -# encode text -proc encode {a} { - return [string map {\n
{ } { } \t {        } > > < < / /} $a] -} - proc first_flash_base {} { set t [lindex 0 [ocd_flash_banks]] return $t(base)