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, master has been updated
       via  dbf5ae35b52eb55be7ea135df082cc6e84f64b7f (commit)
       via  f22d4809a4770a4f2fbd714443846f5ddf879e5b (commit)
       via  03a0d8ffd4b871cfd81d7c2adf00cd27846f7692 (commit)
       via  1efc4c9051b1ec38dd182f743ea1562ac6ef6916 (commit)
       via  28a8561885d5d9e4a8e117545d77e6750031742a (commit)
       via  9a08818e54602664506c437aa52b15104166581b (commit)
       via  931d734a3ffa78a529c3eba32670994f9d6056bc (commit)
       via  1dbf485934da62b92bed63defb236254ffbeaa10 (commit)
       via  fe5ba71bd0dba82d8a3093217ec1fcec1dd00ac6 (commit)
       via  3cf71e8c7d7a1ed83db5ea6e5a110346807b307b (commit)
      from  5b64788c51f7676276c0d8685003fd002b27388b (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dbf5ae35b52eb55be7ea135df082cc6e84f64b7f
commit dbf5ae35b52eb55be7ea135df082cc6e84f64b7f
Merge: f22d4809a4 fe5ba71bd0
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Wed Oct 30 13:30:26 2019 +0000
Commit:     Kitware Robot <kwro...@kitware.com>
CommitDate: Wed Oct 30 09:30:34 2019 -0400

    Merge topic 'scanbuild-fixes'
    
    fe5ba71bd0 Tests: Suppress clang scan-build warning in UTF8 test
    3cf71e8c7d cmLocalGenerator: Drop unused initializer in AddUnityBuild
    
    Acked-by: Kitware Robot <kwro...@kitware.com>
    Merge-request: !3958


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f22d4809a4770a4f2fbd714443846f5ddf879e5b
commit f22d4809a4770a4f2fbd714443846f5ddf879e5b
Merge: 03a0d8ffd4 1efc4c9051
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Wed Oct 30 09:29:00 2019 -0400
Commit:     Brad King <brad.k...@kitware.com>
CommitDate: Wed Oct 30 09:29:00 2019 -0400

    Merge branch 'release-3.16'


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=03a0d8ffd4b871cfd81d7c2adf00cd27846f7692
commit 03a0d8ffd4b871cfd81d7c2adf00cd27846f7692
Merge: 28a8561885 9a08818e54
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Wed Oct 30 13:26:39 2019 +0000
Commit:     Kitware Robot <kwro...@kitware.com>
CommitDate: Wed Oct 30 09:26:54 2019 -0400

    Merge topic 'fix-find_package-doc'
    
    9a08818e54 Help: Add OPTIONAL_COMPONENTS to config mode signature of 
find_package.
    
    Acked-by: Kitware Robot <kwro...@kitware.com>
    Merge-request: !3961


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=28a8561885d5d9e4a8e117545d77e6750031742a
commit 28a8561885d5d9e4a8e117545d77e6750031742a
Merge: 5b64788c51 1dbf485934
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Wed Oct 30 13:25:40 2019 +0000
Commit:     Kitware Robot <kwro...@kitware.com>
CommitDate: Wed Oct 30 09:25:48 2019 -0400

    Merge topic 'bootstrap-break'
    
    1dbf485934 bootstrap: Avoid redundant compiler selection checks
    
    Acked-by: Kitware Robot <kwro...@kitware.com>
    Merge-request: !3959


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fe5ba71bd0dba82d8a3093217ec1fcec1dd00ac6
commit fe5ba71bd0dba82d8a3093217ec1fcec1dd00ac6
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Tue Oct 29 11:20:47 2019 -0400
Commit:     Brad King <brad.k...@kitware.com>
CommitDate: Tue Oct 29 11:20:47 2019 -0400

    Tests: Suppress clang scan-build warning in UTF8 test
    
    Clang scan-build 7 reports:
    
    ```
    Tests/CMakeLib/testUTF8.cxx:12:3: warning: 4th function call argument is an 
uninitialized value
      printf("[0x%02X,0x%02X,0x%02X,0x%02X]", static_cast<int>(d[0]),
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ```
    
    Manual tracing of all call sites shows that all values are initialized.

diff --git a/Tests/CMakeLib/testUTF8.cxx b/Tests/CMakeLib/testUTF8.cxx
index 986f5956ef..1bf88cf4cd 100644
--- a/Tests/CMakeLib/testUTF8.cxx
+++ b/Tests/CMakeLib/testUTF8.cxx
@@ -9,9 +9,11 @@ typedef char test_utf8_char[5];
 static void test_utf8_char_print(test_utf8_char const c)
 {
   unsigned char const* d = reinterpret_cast<unsigned char const*>(c);
+#ifndef __clang_analyzer__ // somehow thinks arguments are not initialized
   printf("[0x%02X,0x%02X,0x%02X,0x%02X]", static_cast<int>(d[0]),
          static_cast<int>(d[1]), static_cast<int>(d[2]),
          static_cast<int>(d[3]));
+#endif
 }
 
 static void byte_array_print(char const* s)

https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3cf71e8c7d7a1ed83db5ea6e5a110346807b307b
commit 3cf71e8c7d7a1ed83db5ea6e5a110346807b307b
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Mon Oct 28 15:51:52 2019 -0400
Commit:     Brad King <brad.k...@kitware.com>
CommitDate: Mon Oct 28 15:52:55 2019 -0400

    cmLocalGenerator: Drop unused initializer in AddUnityBuild
    
    Fix a warning from clang-scanbuild:
    
        warning: Value stored to 'chunk' during its initialization is never read
        for (size_t itemsLeft = filtered_sources.size(), chunk = batchSize,
                                                         ^~~~~   ~~~~~~~~~
    
    Simply remove the initializer.

diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index a2eb1b93e4..8879040537 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2453,8 +2453,7 @@ void cmLocalGenerator::AddUnityBuild(cmGeneratorTarget* 
target)
       batchSize = filtered_sources.size();
     }
 
-    for (size_t itemsLeft = filtered_sources.size(), chunk = batchSize,
-                batch = 0;
+    for (size_t itemsLeft = filtered_sources.size(), chunk, batch = 0;
          itemsLeft > 0; itemsLeft -= chunk, ++batch) {
 
       chunk = std::min(itemsLeft, batchSize);

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

Summary of changes:
 Help/command/find_package.rst | 1 +
 Source/cmLocalGenerator.cxx   | 3 +--
 Tests/CMakeLib/testUTF8.cxx   | 2 ++
 bootstrap                     | 4 ++--
 4 files changed, 6 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
https://cmake.org/mailman/listinfo/cmake-commits

Reply via email to