[Cmake-commits] CMake branch, next, updated. v2.8.7-2923-g3b2a4e6

Brad King brad.king at kitware.com
Mon Feb 27 13:19:50 EST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  3b2a4e64b4848b515e7a487fb125415752333f14 (commit)
       via  da4a8418ffbec4dbd27a167aeda075ef749c121a (commit)
      from  3646cdd59d045557746ed7961a0be4ba4997b09a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3b2a4e64b4848b515e7a487fb125415752333f14
commit 3b2a4e64b4848b515e7a487fb125415752333f14
Merge: 3646cdd da4a841
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Feb 27 13:19:46 2012 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Feb 27 13:19:46 2012 -0500

    Merge topic 'factor-install-type' into next
    
    da4a841 cmInstallTargetGenerator: Initialize local cmInstallType var


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=da4a8418ffbec4dbd27a167aeda075ef749c121a
commit da4a8418ffbec4dbd27a167aeda075ef749c121a
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Feb 27 13:18:02 2012 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon Feb 27 13:18:02 2012 -0500

    cmInstallTargetGenerator: Initialize local cmInstallType var
    
    We always initialize the variable below its declaration but some
    compilers to not understand this and emit a warning.  Quiet them by
    initializing the local variable where it is declared.

diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index a427da9..c74dda0 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -83,7 +83,7 @@ void cmInstallTargetGenerator::GenerateScriptForConfig(std::ostream& os,
   std::vector<std::string> filesTo;
   std::string literal_args;
   cmTarget::TargetType targetType = this->Target->GetType();
-  cmInstallType type;
+  cmInstallType type = cmInstallType();
   switch(targetType)
     {
     case cmTarget::EXECUTABLE: type = cmInstallType_EXECUTABLE; break;

-----------------------------------------------------------------------

Summary of changes:
 Source/cmInstallTargetGenerator.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list