summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cpack.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-05 17:58:36 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-05 17:59:23 (GMT)
commit94cc4e74aec3bc76e94a426d94cd1015c8a9749e (patch)
tree8622e4d00883097135eeb692481340e2d2d40ce6 /Source/CPack/cpack.cxx
parentf2791da132a42cb71384065b340ae212679fc336 (diff)
downloadCMake-94cc4e74aec3bc76e94a426d94cd1015c8a9749e.zip
CMake-94cc4e74aec3bc76e94a426d94cd1015c8a9749e.tar.gz
CMake-94cc4e74aec3bc76e94a426d94cd1015c8a9749e.tar.bz2
CPack: Remove needless cmLocalGenerator creation.
Diffstat (limited to 'Source/CPack/cpack.cxx')
-rw-r--r--Source/CPack/cpack.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index cb9cbc4..213b7ef 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -204,8 +204,6 @@ int main (int argc, char const* const* argv)
cmGlobalGenerator cmgg(&cminst);
cmsys::auto_ptr<cmMakefile> globalMF(
new cmMakefile(&cmgg, cminst.GetCurrentSnapshot()));
- cmsys::auto_ptr<cmLocalGenerator> cmlg(
- cmgg.CreateLocalGenerator(globalMF.get()));
#if defined(__CYGWIN__)
globalMF->AddDefinition("CMAKE_LEGACY_CYGWIN_WIN32", "0");
#endif