gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Bastiaan Jacques
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1978-gd43c191
Date: Tue, 13 May 2014 19:57:17 +0000

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 "Gnash".

The branch, master has been updated
       via  d43c191b957cfe9be5051d142c2d6b9a60b0d1ec (commit)
      from  4772894bc3c7001bccd0e3b1deb4b255c498c24a (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://git.savannah.gnu.org/cgit//commit/?id=d43c191b957cfe9be5051d142c2d6b9a60b0d1ec


commit d43c191b957cfe9be5051d142c2d6b9a60b0d1ec
Author: Bastiaan Jacques <address@hidden>
Date:   Tue May 13 21:56:20 2014 +0200

    Squash GCC 4.9 warnings by removing unused code from compilation.

diff --git a/libcore/DisplayList.cpp b/libcore/DisplayList.cpp
index 1568b52..c90711d 100644
--- a/libcore/DisplayList.cpp
+++ b/libcore/DisplayList.cpp
@@ -43,10 +43,12 @@ namespace {
     /// in the "removed" depth zone
     DisplayList::iterator beginNonRemoved(DisplayList::container_type& c);
 
-       /// Return an constant iterator to the first element of the
+#if GNASH_PARANOIA_LEVEL > 1 && !defined(NDEBUG)
+    /// Return an constant iterator to the first element of the
     /// container NOT in the "removed" depth zone
     DisplayList::const_iterator beginNonRemoved(
             const DisplayList::container_type& c);
+#endif
 
     /// Return the first element in the DisplayList whose depth exceeds
     /// 65535 (-16384).
@@ -943,6 +945,7 @@ beginNonRemoved(DisplayList::container_type& c)
             boost::bind(std::not2(DepthLessThan()), _1, depth));
 }
 
+#if GNASH_PARANOIA_LEVEL > 1 && !defined(NDEBUG)
 DisplayList::const_iterator
 beginNonRemoved(const DisplayList::container_type& c)
 {
@@ -953,6 +956,7 @@ beginNonRemoved(const DisplayList::container_type& c)
     return std::find_if(c.begin(), c.end(), 
             boost::bind(std::not2(DepthLessThan()), _1, depth));
 }
+#endif
 
 DisplayList::iterator
 dlistTagsEffectiveZoneEnd(DisplayList::container_type& c)
diff --git a/libcore/asobj/flash/net/FileReference_as.cpp 
b/libcore/asobj/flash/net/FileReference_as.cpp
index 5f19926..a8b379e 100644
--- a/libcore/asobj/flash/net/FileReference_as.cpp
+++ b/libcore/asobj/flash/net/FileReference_as.cpp
@@ -35,11 +35,14 @@
 namespace gnash {
 
 namespace {
+#if 0
+    // Not yet implemented.
     as_value filereference_addListener(const fn_call& fn);
+    as_value filereference_removeListener(const fn_call& fn);
+#endif
     as_value filereference_browse(const fn_call& fn);
     as_value filereference_cancel(const fn_call& fn);
     as_value filereference_download(const fn_call& fn);
-    as_value filereference_removeListener(const fn_call& fn);
     as_value filereference_upload(const fn_call& fn);
     as_value filereference_creationDate(const fn_call& fn);
     as_value filereference_creator(const fn_call& fn);

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

Summary of changes:
 libcore/DisplayList.cpp                      |    6 +++++-
 libcore/asobj/flash/net/FileReference_as.cpp |    5 ++++-
 2 files changed, 9 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]