REF: remove duplicated function msvc_setup_env_once.
authorcournape <cournape@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 19 Nov 2009 05:08:51 +0000 (05:08 +0000)
committercournape <cournape@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 19 Nov 2009 05:08:51 +0000 (05:08 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4459 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Tool/MSCommon/vc.py

index 1cd236dc614d70235c77366058f5874c23c5923b..d85b3659053caf39aae32cd1a15c8479ddbb55d4 100644 (file)
@@ -295,16 +295,6 @@ def msvc_setup_env(env):
     for k, v in d.items():
         env.PrependENVPath(k, v, delete_existing=True)
 
-def msvc_setup_env_once(env):
-    try:
-        has_run  = env["MSVC_SETUP_RUN"]
-    except KeyError:
-        has_run = False
-
-    if not has_run:
-        msvc_setup_env(env)
-        env["MSVC_SETUP_RUN"] = True
-
 def msvc_exists(version=None):
     vcs = get_installed_vcs()
     if version is None: