gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r9888: More compiler warnings.


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r9888: More compiler warnings.
Date: Wed, 01 Oct 2008 15:41:01 +0200
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9888
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Wed 2008-10-01 15:41:01 +0200
message:
  More compiler warnings.
modified:
  libcore/asobj/NetStream.cpp
  libcore/asobj/SoundFfmpeg.cpp
  libcore/asobj/flash/display/BitmapData_as.h
  libcore/asobj/flash/geom_pkg.cpp
  libmedia/ffmpeg/VideoDecoderFfmpeg.h
    ------------------------------------------------------------
    revno: 9886.1.4
    committer: Benjamin Wolsey <address@hidden>
    branch nick: work
    timestamp: Wed 2008-10-01 14:15:30 +0200
    message:
      Drop useless const qualifiers.
    modified:
      libcore/asobj/flash/display/BitmapData_as.h
    ------------------------------------------------------------
    revno: 9886.1.5
    committer: Benjamin Wolsey <address@hidden>
    branch nick: work
    timestamp: Wed 2008-10-01 15:04:54 +0200
    message:
      Silence compiler warnings.
    modified:
      libcore/asobj/SoundFfmpeg.cpp
      libcore/asobj/flash/geom_pkg.cpp
    ------------------------------------------------------------
    revno: 9886.1.6
    committer: Benjamin Wolsey <address@hidden>
    branch nick: work
    timestamp: Wed 2008-10-01 15:05:10 +0200
    message:
      Silence compiler warnings.
    modified:
      libmedia/ffmpeg/VideoDecoderFfmpeg.h
    ------------------------------------------------------------
    revno: 9886.1.7
    committer: Benjamin Wolsey <address@hidden>
    branch nick: work
    timestamp: Wed 2008-10-01 15:33:50 +0200
    message:
      Initialization order.
    modified:
      libcore/asobj/NetStream.cpp
=== modified file 'libcore/asobj/NetStream.cpp'
--- a/libcore/asobj/NetStream.cpp       2008-09-29 18:35:49 +0000
+++ b/libcore/asobj/NetStream.cpp       2008-10-01 13:33:50 +0000
@@ -81,8 +81,6 @@
        inputPos(0),
        _invalidatedVideoCharacter(0),
        _lastStatus(invalidStatus),
-       _advanceTimer(0),
-
        _decoding_state(DEC_NONE),
 
        // TODO: if audio is available, use _audioClock instead of SystemClock
@@ -92,7 +90,8 @@
 
        _soundHandler(get_sound_handler()),
        _mediaHandler(media::MediaHandler::get()),
-       _audioQueueSize(0)
+       _audioQueueSize(0),
+       _advanceTimer(0)
 {
 }
 

=== modified file 'libcore/asobj/SoundFfmpeg.cpp'
--- a/libcore/asobj/SoundFfmpeg.cpp     2008-09-23 17:14:12 +0000
+++ b/libcore/asobj/SoundFfmpeg.cpp     2008-10-01 13:04:54 +0000
@@ -104,7 +104,7 @@
        }
 
        // drop any queued video frame
-       while (_mediaParser->nextVideoFrame().get());
+       while (_mediaParser->nextVideoFrame().get()) {};
 
        return true;
 }

=== modified file 'libcore/asobj/flash/display/BitmapData_as.h'
--- a/libcore/asobj/flash/display/BitmapData_as.h       2008-07-25 13:09:58 
+0000
+++ b/libcore/asobj/flash/display/BitmapData_as.h       2008-10-01 12:15:30 
+0000
@@ -45,9 +45,9 @@
        BitmapData_as(size_t width, size_t height,
                      bool transparent, boost::uint32_t fillColor);
 
-    const size_t getWidth() const { return _width; }
-    const size_t getHeight() const { return _height; }
-    const bool isTransparent() const { return _transparent; }
+    size_t getWidth() const { return _width; }
+    size_t getHeight() const { return _height; }
+    bool isTransparent() const { return _transparent; }
     
     const BitmapArray& getBitmapData() const
     {

=== modified file 'libcore/asobj/flash/geom_pkg.cpp'
--- a/libcore/asobj/flash/geom_pkg.cpp  2008-09-25 12:29:38 +0000
+++ b/libcore/asobj/flash/geom_pkg.cpp  2008-10-01 13:04:54 +0000
@@ -36,8 +36,6 @@
 {
        log_debug("Loading flash.geom package");
 
-       const int version = fn.env().getVM().getSWFVersion();
-
        as_object* pkg = new as_object(getObjectInterface());
 
        ColorTransform_class_init(*pkg);

=== modified file 'libmedia/ffmpeg/VideoDecoderFfmpeg.h'
--- a/libmedia/ffmpeg/VideoDecoderFfmpeg.h      2008-09-22 16:56:45 +0000
+++ b/libmedia/ffmpeg/VideoDecoderFfmpeg.h      2008-10-01 13:05:10 +0000
@@ -38,7 +38,6 @@
 
 /// Forward declarations
 class CodecContextWrapper;
-class image::ImageBase;
 #ifdef HAVE_SWSCALE_H
 class SwsContextWrapper;
 #endif


reply via email to

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