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  54ccc9526e2478a751d0efe654d4148425401948 (commit)
       via  2a7fecc4097708bf2bd5c4d712dca8da2495dbdc (commit)
      from  e6ccd6d772f294cf80775e7abbb4a5555fda07de (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=54ccc9526e2478a751d0efe654d4148425401948
commit 54ccc9526e2478a751d0efe654d4148425401948
Merge: e6ccd6d 2a7fecc
Author:     Rolf Eike Beer <e...@sf-mail.de>
AuthorDate: Wed Aug 14 14:30:11 2013 -0400
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Wed Aug 14 14:30:11 2013 -0400

    Merge topic 'remove-local-typedef' into next
    
    2a7fecc remove unused local typedef


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2a7fecc4097708bf2bd5c4d712dca8da2495dbdc
commit 2a7fecc4097708bf2bd5c4d712dca8da2495dbdc
Author:     Rolf Eike Beer <e...@sf-mail.de>
AuthorDate: Wed Aug 14 20:28:28 2013 +0200
Commit:     Rolf Eike Beer <e...@sf-mail.de>
CommitDate: Wed Aug 14 20:28:28 2013 +0200

    remove unused local typedef
    
    Fixes this warning from g++ 4.8:
    
    CMake/Source/cmDocumentation.cxx:835:23: warning: typedef 'sdoc_t' locally 
defined but not used [-Wunused-local-typedefs]
             SDOC_UNKNOWN} sdoc_t;
                           ^

diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 4edacbb..b19d847 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -829,10 +829,10 @@ int cmDocumentation::GetStructuredDocFromFile(
         std::vector<cmDocumentationEntry>& commands,
         cmake* cm)
 {
-    typedef enum sdoce {
+    enum sdoce {
         SDOC_NONE, SDOC_MODULE, SDOC_MACRO, SDOC_FUNCTION, SDOC_VARIABLE,
         SDOC_SECTION,
-        SDOC_UNKNOWN} sdoc_t;
+        SDOC_UNKNOWN};
     int nbDocItemFound = 0;
     int docCtxIdx      = 0;
     std::vector<int> docContextStack(60);

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

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


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits

Reply via email to