From 30a7308729bacdc6fdeb0468c061ba1dc138f019 Mon Sep 17 00:00:00 2001 From: apn Date: Thu, 7 May 2015 15:33:10 +0300 Subject: [PATCH] 0026191: Different behavior of "bugs moddata_3 bug23471" test script on Windows and Linux platform Deleted variable "res" which appears during loading draw --- src/DrawResources/DrawDefault | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DrawResources/DrawDefault b/src/DrawResources/DrawDefault index 3f0b7c1a2a..a70e3ae7cc 100755 --- a/src/DrawResources/DrawDefault +++ b/src/DrawResources/DrawDefault @@ -87,7 +87,7 @@ if { [file readable $draw_appli_init_file] } { # on Windows, set special handler to update automatically environment variables # in C subsystem when Tcl environment changes (see Mantis issue #23197) -if { $tcl_platform(platform) == "windows" && ! [catch {dgetenv PATH} res] } { +if { $tcl_platform(platform) == "windows" && ! [catch {dgetenv PATH}] } { proc _update_c_env {envenv var op} { global env if { $op == "unset" } {