From af36d6e2e7cc3169517bae944d8b837abdcd4287 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 13 Dec 2005 18:23:37 -0500 Subject: COMP: Fixed unused variable warning. --- Source/cmGlobalVisualStudio8Generator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index be0f1a2..e4948a3 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -156,7 +156,7 @@ void cmGlobalVisualStudio8Generator::WriteSLNFile( std::vector dspnames = static_cast(generators[i]) ->GetCreatedProjectNames(); - cmTargets &tgts = generators[i]->GetMakefile()->GetTargets(); + cmTargets& tgts = mf->GetTargets(); for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); ++l) { if(l->first == CMAKE_CHECK_BUILD_SYSTEM_TARGET) -- cgit v0.12