From: apn Date: Thu, 7 May 2015 12:33:10 +0000 (+0300) Subject: 0026191: Different behavior of "bugs moddata_3 bug23471" test script on Windows and... X-Git-Tag: V6_9_0~10 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=30a7308729bacdc6fdeb0468c061ba1dc138f019;p=occt-copy.git 0026191: Different behavior of "bugs moddata_3 bug23471" test script on Windows and Linux platform Deleted variable "res" which appears during loading draw --- 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" } {