[mapguide-commits] r4389 -
trunk/MgDev/Web/src/PhpMapGuideApiEnvConfig
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Dec 8 18:05:46 EST 2009
Author: brucedechant
Date: 2009-12-08 18:05:46 -0500 (Tue, 08 Dec 2009)
New Revision: 4389
Modified:
trunk/MgDev/Web/src/PhpMapGuideApiEnvConfig/PhpMapGuideApiEnvConfig.cpp
Log:
Remove local variable with same name as global variable.
Modified: trunk/MgDev/Web/src/PhpMapGuideApiEnvConfig/PhpMapGuideApiEnvConfig.cpp
===================================================================
--- trunk/MgDev/Web/src/PhpMapGuideApiEnvConfig/PhpMapGuideApiEnvConfig.cpp 2009-12-08 22:47:31 UTC (rev 4388)
+++ trunk/MgDev/Web/src/PhpMapGuideApiEnvConfig/PhpMapGuideApiEnvConfig.cpp 2009-12-08 23:05:46 UTC (rev 4389)
@@ -42,7 +42,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