[mapguide-commits] r4371 - sandbox/adsk/2.1/Web/src/PhpMapGuideApiEnvConfig

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Dec 3 17:49:51 EST 2009


Author: brucedechant
Date: 2009-12-03 17:49:51 -0500 (Thu, 03 Dec 2009)
New Revision: 4371

Modified:
   sandbox/adsk/2.1/Web/src/PhpMapGuideApiEnvConfig/PhpMapGuideApiEnvConfig.cpp
Log:
Remove local variable with same name as global variable.

Modified: sandbox/adsk/2.1/Web/src/PhpMapGuideApiEnvConfig/PhpMapGuideApiEnvConfig.cpp
===================================================================
--- sandbox/adsk/2.1/Web/src/PhpMapGuideApiEnvConfig/PhpMapGuideApiEnvConfig.cpp	2009-12-03 22:42:14 UTC (rev 4370)
+++ sandbox/adsk/2.1/Web/src/PhpMapGuideApiEnvConfig/PhpMapGuideApiEnvConfig.cpp	2009-12-03 22:49:51 UTC (rev 4371)
@@ -37,7 +37,6 @@
     // Get the location of PHP
     HMODULE hModule;
     GetModuleHandleEx(0, L"php5ts.dll", &hModule);
-    wchar_t g_phpPath[MAX_PATH];
     GetModuleFileName(hModule, g_phpPath, MAX_PATH);
     wcsrchr(g_phpPath, '\\')[0] = '\0';
     FreeLibrary(hModule);



More information about the mapguide-commits mailing list