[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: |
Gabriele Giacone |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1753-g565f826 |
Date: |
Tue, 20 Aug 2013 00:10:31 +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 565f8265d25451c6a11a437dd65662da4c83800c (commit)
via 2e959cd0a959332247c735e4b6492fa4f595f6af (commit)
from b03912c44d6c45faf3387e3a08ed0ef85922a966 (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=565f8265d25451c6a11a437dd65662da4c83800c
commit 565f8265d25451c6a11a437dd65662da4c83800c
Author: Gabriele Giacone <address@hidden>
Date: Tue Aug 20 02:09:06 2013 +0200
Fix warning: variable set but not used.
diff --git a/plugin/klash/klash_part.cpp b/plugin/klash/klash_part.cpp
index ca53997..a2714a2 100644
--- a/plugin/klash/klash_part.cpp
+++ b/plugin/klash/klash_part.cpp
@@ -98,7 +98,6 @@ KDE_NO_CDTOR_EXPORT KlashPart::KlashPart (QWidget * wparent,
const char *wname,
m_fullscreen (false),
m_started_emited (false) {
//kdDebug () << "KlashPart(" << this << ")::KlashPart ()" << endl;
- bool show_fullscreen = false;
setInstance (KlashFactory::instance (), true);
/*KAction *playact =*/ new KAction(i18n("P&lay"), QString ("player_play"),
KShortcut (), this, SLOT(play ()), actionCollection (), "play");
/*KAction *pauseact =*/ new KAction(i18n("&Pause"), QString
("player_pause"), KShortcut (), this, SLOT(pause ()), actionCollection (),
"pause");
@@ -126,7 +125,7 @@ KDE_NO_CDTOR_EXPORT KlashPart::KlashPart (QWidget *
wparent, const char *wname,
} else if (name == QString::fromLatin1("src")) {
m_src_url = value;
} else if (name == QString::fromLatin1 ("fullscreenmode")) {
- show_fullscreen = getBoolValue (value);
+ m_fullscreen = getBoolValue (value);
} else if (name == QString::fromLatin1 ("autostart")) {
bool ok;
m_autostart = value.toInt (&ok);
diff --git a/plugin/klash4/klash_part.cpp b/plugin/klash4/klash_part.cpp
index 3ba0873..801e86d 100644
--- a/plugin/klash4/klash_part.cpp
+++ b/plugin/klash4/klash_part.cpp
@@ -101,7 +101,6 @@ KDE_NO_CDTOR_EXPORT KlashPart::KlashPart (QWidget * wparent,
m_fullscreen (false),
m_started_emited (false) {
//kdDebug () << "KlashPart(" << this << ")::KlashPart ()" << endl;
- bool show_fullscreen = false;
setComponentData (*KlashFactory::instance ());
KAction *playact = new KAction(this);
playact->setText(i18n("P&lay"));
@@ -138,7 +137,7 @@ KDE_NO_CDTOR_EXPORT KlashPart::KlashPart (QWidget * wparent,
} else if (name == QString::fromLatin1("src")) {
m_src_url = value;
} else if (name == QString::fromLatin1 ("fullscreenmode")) {
- show_fullscreen = getBoolValue (value);
+ m_fullscreen = getBoolValue (value);
} else if (name == QString::fromLatin1 ("autostart")) {
bool ok;
m_autostart = value.toInt (&ok);
http://git.savannah.gnu.org/cgit//commit/?id=2e959cd0a959332247c735e4b6492fa4f595f6af
commit 2e959cd0a959332247c735e4b6492fa4f595f6af
Author: Gabriele Giacone <address@hidden>
Date: Tue Aug 20 01:33:47 2013 +0200
Fix warnings: boost static assert typedefs locally defined but not used.
diff --git a/libbase/IOChannel.cpp b/libbase/IOChannel.cpp
index 0e02298..1cf6278 100644
--- a/libbase/IOChannel.cpp
+++ b/libbase/IOChannel.cpp
@@ -69,7 +69,7 @@ IOChannel::read_float32()
boost::uint32_t i;
} u;
- BOOST_STATIC_ASSERT(sizeof(u) == sizeof(u.i));
+ BOOST_STATIC_ASSERT(sizeof(u) == sizeof(u.i)) __attribute__((unused));
u.i = read_le32();
return u.f;
diff --git a/libcore/SWFStream.cpp b/libcore/SWFStream.cpp
index 76f96ff..2767fe2 100644
--- a/libcore/SWFStream.cpp
+++ b/libcore/SWFStream.cpp
@@ -312,7 +312,7 @@ double SWFStream::read_d64()
const unsigned short dataLength = 8;
double d = 0;
- BOOST_STATIC_ASSERT(sizeof(double) == dataLength);
+ BOOST_STATIC_ASSERT(sizeof(double) == dataLength) __attribute__((unused));
// Should align:
if (read(reinterpret_cast<char*>(&d), dataLength) < dataLength)
diff --git a/libcore/parser/action_buffer.cpp b/libcore/parser/action_buffer.cpp
index d6c64b4..23ddab2 100644
--- a/libcore/parser/action_buffer.cpp
+++ b/libcore/parser/action_buffer.cpp
@@ -574,7 +574,7 @@ convert_double_wacky(const void *p)
} c;
} u;
- BOOST_STATIC_ASSERT(sizeof(u) == sizeof(u.i));
+ BOOST_STATIC_ASSERT(sizeof(u) == sizeof(u.i)) __attribute__((unused));
// Detect endianness of doubles by storing a value that is
// exactly representable and that has different values in the
diff --git a/libcore/swf/DefineBitsTag.cpp b/libcore/swf/DefineBitsTag.cpp
index 0b5e417..b7cff44 100644
--- a/libcore/swf/DefineBitsTag.cpp
+++ b/libcore/swf/DefineBitsTag.cpp
@@ -622,7 +622,8 @@ inflateWrapper(SWFStream& in, void* buffer, size_t
buffer_bytes)
chunkSize = availableBytes;
}
- BOOST_STATIC_ASSERT(sizeof(char) == sizeof(boost::uint8_t));
+ BOOST_STATIC_ASSERT(sizeof(char) == sizeof(boost::uint8_t))
+ __attribute__((unused));
// Fill the buffer
in.read(reinterpret_cast<char*>(buf), chunkSize);
-----------------------------------------------------------------------
Summary of changes:
libbase/IOChannel.cpp | 2 +-
libcore/SWFStream.cpp | 2 +-
libcore/parser/action_buffer.cpp | 2 +-
libcore/swf/DefineBitsTag.cpp | 3 ++-
plugin/klash/klash_part.cpp | 3 +--
plugin/klash4/klash_part.cpp | 3 +--
6 files changed, 7 insertions(+), 8 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1753-g565f826,
Gabriele Giacone <=