[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1354-gc27b044

Brad King brad.king at kitware.com
Thu Jan 3 13:52:05 EST 2013


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  c27b044fb82ea0a0cec5626d01195c055a26d514 (commit)
       via  b6346f25565f06bde208b8303d70bbe0fabc8210 (commit)
      from  12378815ef4dafffccb046fcdb0ad22c0bfd8097 (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=c27b044fb82ea0a0cec5626d01195c055a26d514
commit c27b044fb82ea0a0cec5626d01195c055a26d514
Merge: 1237881 b6346f2
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Jan 3 13:52:04 2013 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Jan 3 13:52:04 2013 -0500

    Merge topic 'fix-test-warnings' into next
    
    b6346f2 Tests: Fix warning about unused variable


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b6346f25565f06bde208b8303d70bbe0fabc8210
commit b6346f25565f06bde208b8303d70bbe0fabc8210
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Tue Jan 1 18:35:28 2013 +0100
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Thu Jan 3 13:50:55 2013 -0500

    Tests: Fix warning about unused variable
    
    Resolve this warning:
    
     ".../Tests/CMakeCommands/target_link_libraries/depB.cpp", line 8: warning:
              variable "a" was declared but never referenced
        DepA a;
             ^

diff --git a/Tests/CMakeCommands/target_link_libraries/depB.cpp b/Tests/CMakeCommands/target_link_libraries/depB.cpp
index 97e5be2..1bbe38b 100644
--- a/Tests/CMakeCommands/target_link_libraries/depB.cpp
+++ b/Tests/CMakeCommands/target_link_libraries/depB.cpp
@@ -7,5 +7,5 @@ int DepB::foo()
 {
   DepA a;
 
-  return 0;
+  return a.foo();
 }

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

Summary of changes:


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list