[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11260: Fix all compiler warnings in
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11260: Fix all compiler warnings in libcore except those in TextField (which it |
Date: |
Wed, 15 Jul 2009 12:54:52 +0200 |
User-agent: |
Bazaar (1.13.1) |
------------------------------------------------------------
revno: 11260
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Wed 2009-07-15 12:54:52 +0200
message:
Fix all compiler warnings in libcore except those in TextField (which it
would also be a good idea to fix).
modified:
libcore/asobj/Globals.cpp
libcore/asobj/flash/display/ActionScriptVersion_as.cpp
libcore/asobj/flash/display/BitmapDataChannel_as.cpp
libcore/asobj/flash/display/CapsStyle_as.cpp
libcore/asobj/flash/display/GradientType_as.cpp
libcore/asobj/flash/display/Graphics_as.cpp
libcore/asobj/flash/display/InterpolationMethod_as.cpp
libcore/asobj/flash/display/JointStyle_as.cpp
libcore/asobj/flash/display/LineScaleMode_as.cpp
libcore/asobj/flash/display/Loader_as.cpp
libcore/asobj/flash/display/PixelSnapping_as.cpp
libcore/asobj/flash/display/SWFVersion_as.cpp
libcore/asobj/flash/display/SpreadMethod_as.cpp
libcore/asobj/flash/display/Sprite_as.cpp
libcore/asobj/flash/display/StageDisplayState_as.cpp
libcore/asobj/flash/display/StageQuality_as.cpp
libcore/asobj/flash/display/StageScaleMode_as.cpp
libcore/asobj/flash/display/Stage_as.cpp
libcore/asobj/flash/display/display_pkg.cpp
libcore/asobj/flash/events/ContextMenuEvent_as.cpp
libcore/asobj/flash/events/DataEvent_as.cpp
libcore/asobj/flash/events/EventDispatcher_as.cpp
libcore/asobj/flash/events/Event_as.cpp
libcore/asobj/flash/events/ProgressEvent_as.cpp
libcore/asobj/flash/events/TextEvent_as.cpp
libcore/asobj/flash/external/external_pkg.cpp
libcore/asobj/flash/filters/BitmapFilterType_as.cpp
libcore/asobj/flash/geom/geom_pkg.cpp
libcore/asobj/flash/media/SoundChannel_as.cpp
libcore/asobj/flash/media/Sound_as.cpp
libcore/asobj/flash/net/SharedObjectFlushStatus_as.cpp
libcore/asobj/flash/net/URLStream_as.cpp
libcore/asobj/flash/net/net_pkg.cpp
libcore/asobj/flash/printing/PrintJobOrientation_as.cpp
libcore/asobj/flash/sampler/StackFrame_as.cpp
libcore/asobj/flash/system/ApplicationDomain_as.cpp
libcore/asobj/flash/text/GridFitType_as.cpp
libcore/asobj/flash/text/TextColorType_as.cpp
libcore/asobj/flash/text/TextDisplayMode_as.cpp
libcore/asobj/flash/text/TextFormatAlign_as.cpp
libcore/asobj/flash/text/TextSnapshot_as.cpp
libcore/asobj/flash/utils/ByteArray_as.cpp
libcore/asobj/flash/utils/IDataInput_as.cpp
libcore/asobj/flash/utils/IExternalizable_as.cpp
------------------------------------------------------------
revno: 11259.1.1
committer: Benjamin Wolsey <address@hidden>
branch nick: temp
timestamp: Wed 2009-07-15 12:40:53 +0200
message:
Fix warnings that sed missed.
modified:
libcore/asobj/flash/display/ActionScriptVersion_as.cpp
libcore/asobj/flash/display/BitmapDataChannel_as.cpp
libcore/asobj/flash/display/CapsStyle_as.cpp
libcore/asobj/flash/display/GradientType_as.cpp
libcore/asobj/flash/display/Graphics_as.cpp
libcore/asobj/flash/display/InterpolationMethod_as.cpp
libcore/asobj/flash/display/JointStyle_as.cpp
libcore/asobj/flash/display/LineScaleMode_as.cpp
libcore/asobj/flash/display/Loader_as.cpp
libcore/asobj/flash/display/PixelSnapping_as.cpp
libcore/asobj/flash/display/SWFVersion_as.cpp
libcore/asobj/flash/display/SpreadMethod_as.cpp
libcore/asobj/flash/display/Sprite_as.cpp
libcore/asobj/flash/display/StageDisplayState_as.cpp
libcore/asobj/flash/display/StageQuality_as.cpp
libcore/asobj/flash/display/StageScaleMode_as.cpp
libcore/asobj/flash/display/Stage_as.cpp
libcore/asobj/flash/display/display_pkg.cpp
libcore/asobj/flash/events/ContextMenuEvent_as.cpp
libcore/asobj/flash/events/DataEvent_as.cpp
libcore/asobj/flash/events/EventDispatcher_as.cpp
libcore/asobj/flash/events/Event_as.cpp
libcore/asobj/flash/events/ProgressEvent_as.cpp
libcore/asobj/flash/events/TextEvent_as.cpp
libcore/asobj/flash/external/external_pkg.cpp
libcore/asobj/flash/filters/BitmapFilterType_as.cpp
libcore/asobj/flash/geom/geom_pkg.cpp
libcore/asobj/flash/media/SoundChannel_as.cpp
libcore/asobj/flash/net/SharedObjectFlushStatus_as.cpp
libcore/asobj/flash/net/URLStream_as.cpp
libcore/asobj/flash/net/net_pkg.cpp
libcore/asobj/flash/printing/PrintJobOrientation_as.cpp
libcore/asobj/flash/sampler/StackFrame_as.cpp
libcore/asobj/flash/system/ApplicationDomain_as.cpp
libcore/asobj/flash/text/GridFitType_as.cpp
libcore/asobj/flash/text/TextDisplayMode_as.cpp
libcore/asobj/flash/text/TextFormatAlign_as.cpp
libcore/asobj/flash/text/TextSnapshot_as.cpp
libcore/asobj/flash/utils/ByteArray_as.cpp
libcore/asobj/flash/utils/IDataInput_as.cpp
libcore/asobj/flash/utils/IExternalizable_as.cpp
------------------------------------------------------------
revno: 11259.1.2
committer: Benjamin Wolsey <address@hidden>
branch nick: temp
timestamp: Wed 2009-07-15 12:51:10 +0200
message:
More warnings.
modified:
libcore/asobj/Globals.cpp
libcore/asobj/flash/media/Sound_as.cpp
libcore/asobj/flash/text/TextColorType_as.cpp
=== modified file 'libcore/asobj/Globals.cpp'
--- a/libcore/asobj/Globals.cpp 2009-07-14 16:15:25 +0000
+++ b/libcore/asobj/Globals.cpp 2009-07-15 10:51:10 +0000
@@ -149,7 +149,7 @@
void registerNatives(as_object& global);
}
-AVM2Global::AVM2Global(Machine& machine, VM& vm)
+AVM2Global::AVM2Global(Machine& /*machine*/, VM& vm)
:
_classes(this, 0),
_vm(vm)
=== modified file 'libcore/asobj/flash/display/ActionScriptVersion_as.cpp'
--- a/libcore/asobj/flash/display/ActionScriptVersion_as.cpp 2009-07-14
11:18:42 +0000
+++ b/libcore/asobj/flash/display/ActionScriptVersion_as.cpp 2009-07-15
10:40:53 +0000
@@ -51,7 +51,7 @@
namespace {
void
-attachActionScriptVersionStaticInterface(as_object& o)
+attachActionScriptVersionStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/display/BitmapDataChannel_as.cpp'
--- a/libcore/asobj/flash/display/BitmapDataChannel_as.cpp 2009-07-14
11:18:42 +0000
+++ b/libcore/asobj/flash/display/BitmapDataChannel_as.cpp 2009-07-15
10:40:53 +0000
@@ -51,7 +51,7 @@
namespace {
void
-attachBitmapDataChannelStaticInterface(as_object& o)
+attachBitmapDataChannelStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/display/CapsStyle_as.cpp'
--- a/libcore/asobj/flash/display/CapsStyle_as.cpp 2009-07-14 11:18:42
+0000
+++ b/libcore/asobj/flash/display/CapsStyle_as.cpp 2009-07-15 10:40:53
+0000
@@ -51,7 +51,7 @@
namespace {
void
-attachCapsStyleStaticInterface(as_object& o)
+attachCapsStyleStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/display/GradientType_as.cpp'
--- a/libcore/asobj/flash/display/GradientType_as.cpp 2009-07-14 11:18:42
+0000
+++ b/libcore/asobj/flash/display/GradientType_as.cpp 2009-07-15 10:40:53
+0000
@@ -51,7 +51,7 @@
namespace {
void
-attachGradientTypeStaticInterface(as_object& o)
+attachGradientTypeStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/display/Graphics_as.cpp'
--- a/libcore/asobj/flash/display/Graphics_as.cpp 2009-07-15 09:33:59
+0000
+++ b/libcore/asobj/flash/display/Graphics_as.cpp 2009-07-15 10:40:53
+0000
@@ -101,7 +101,7 @@
}
void
-attachGraphicsStaticInterface(as_object& o)
+attachGraphicsStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/display/InterpolationMethod_as.cpp'
--- a/libcore/asobj/flash/display/InterpolationMethod_as.cpp 2009-07-14
11:18:42 +0000
+++ b/libcore/asobj/flash/display/InterpolationMethod_as.cpp 2009-07-15
10:40:53 +0000
@@ -51,7 +51,7 @@
namespace {
void
-attachInterpolationMethodStaticInterface(as_object& o)
+attachInterpolationMethodStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/display/JointStyle_as.cpp'
--- a/libcore/asobj/flash/display/JointStyle_as.cpp 2009-07-14 11:18:42
+0000
+++ b/libcore/asobj/flash/display/JointStyle_as.cpp 2009-07-15 10:40:53
+0000
@@ -51,7 +51,7 @@
namespace {
void
-attachJointStyleStaticInterface(as_object& o)
+attachJointStyleStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/display/LineScaleMode_as.cpp'
--- a/libcore/asobj/flash/display/LineScaleMode_as.cpp 2009-07-14 11:18:42
+0000
+++ b/libcore/asobj/flash/display/LineScaleMode_as.cpp 2009-07-15 10:40:53
+0000
@@ -51,7 +51,7 @@
namespace {
void
-attachLineScaleModeStaticInterface(as_object& o)
+attachLineScaleModeStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/display/Loader_as.cpp'
--- a/libcore/asobj/flash/display/Loader_as.cpp 2009-07-15 09:33:59 +0000
+++ b/libcore/asobj/flash/display/Loader_as.cpp 2009-07-15 10:40:53 +0000
@@ -81,7 +81,7 @@
}
void
-attachLoaderStaticInterface(as_object& o)
+attachLoaderStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/display/PixelSnapping_as.cpp'
--- a/libcore/asobj/flash/display/PixelSnapping_as.cpp 2009-07-14 11:18:42
+0000
+++ b/libcore/asobj/flash/display/PixelSnapping_as.cpp 2009-07-15 10:40:53
+0000
@@ -51,7 +51,7 @@
namespace {
void
-attachPixelSnappingStaticInterface(as_object& o)
+attachPixelSnappingStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/display/SWFVersion_as.cpp'
--- a/libcore/asobj/flash/display/SWFVersion_as.cpp 2009-07-14 11:18:42
+0000
+++ b/libcore/asobj/flash/display/SWFVersion_as.cpp 2009-07-15 10:40:53
+0000
@@ -51,7 +51,7 @@
namespace {
void
-attachSWFVersionStaticInterface(as_object& o)
+attachSWFVersionStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/display/SpreadMethod_as.cpp'
--- a/libcore/asobj/flash/display/SpreadMethod_as.cpp 2009-07-14 11:18:42
+0000
+++ b/libcore/asobj/flash/display/SpreadMethod_as.cpp 2009-07-15 10:40:53
+0000
@@ -51,7 +51,7 @@
namespace {
void
-attachSpreadMethodStaticInterface(as_object& o)
+attachSpreadMethodStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/display/Sprite_as.cpp'
--- a/libcore/asobj/flash/display/Sprite_as.cpp 2009-07-15 09:33:59 +0000
+++ b/libcore/asobj/flash/display/Sprite_as.cpp 2009-07-15 10:40:53 +0000
@@ -77,7 +77,7 @@
}
void
-attachSpriteStaticInterface(as_object& o)
+attachSpriteStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/display/StageDisplayState_as.cpp'
--- a/libcore/asobj/flash/display/StageDisplayState_as.cpp 2009-07-14
11:18:42 +0000
+++ b/libcore/asobj/flash/display/StageDisplayState_as.cpp 2009-07-15
10:40:53 +0000
@@ -51,7 +51,7 @@
namespace {
void
-attachStageDisplayStateStaticInterface(as_object& o)
+attachStageDisplayStateStaticInterface(as_object& /*o*/)
{
// TODO: attach constants.
}
=== modified file 'libcore/asobj/flash/display/StageQuality_as.cpp'
--- a/libcore/asobj/flash/display/StageQuality_as.cpp 2009-07-14 11:18:42
+0000
+++ b/libcore/asobj/flash/display/StageQuality_as.cpp 2009-07-15 10:40:53
+0000
@@ -50,7 +50,7 @@
namespace {
void
-attachStageQualityStaticInterface(as_object& o)
+attachStageQualityStaticInterface(as_object& /*o*/)
{
// TODO: attach constants.
}
=== modified file 'libcore/asobj/flash/display/StageScaleMode_as.cpp'
--- a/libcore/asobj/flash/display/StageScaleMode_as.cpp 2009-07-14 09:11:14
+0000
+++ b/libcore/asobj/flash/display/StageScaleMode_as.cpp 2009-07-15 10:40:53
+0000
@@ -53,7 +53,6 @@
void
attachStageScaleModeStaticInterface(as_object& o)
{
- Global_as* gl = getGlobal(o);
o.init_member("EXACT_FIT", "exactFit");
o.init_member("NO_BORDER", "noBorder");
o.init_member("NO_SCALE", "noScale");
=== modified file 'libcore/asobj/flash/display/Stage_as.cpp'
--- a/libcore/asobj/flash/display/Stage_as.cpp 2009-07-14 09:11:14 +0000
+++ b/libcore/asobj/flash/display/Stage_as.cpp 2009-07-15 10:40:53 +0000
@@ -39,12 +39,12 @@
namespace gnash {
-static as_value stage_scalemode_getset(const fn_call& fn);
-static as_value stage_align_getset(const fn_call& fn);
-static as_value stage_showMenu_getset(const fn_call& fn);
-static as_value stage_width_getset(const fn_call& fn);
-static as_value stage_height_getset(const fn_call& fn);
-static as_value stage_displaystate_getset(const fn_call& fn);
+static as_value stage_scalemode(const fn_call& fn);
+static as_value stage_align(const fn_call& fn);
+static as_value stage_showMenu(const fn_call& fn);
+static as_value stage_width(const fn_call& fn);
+static as_value stage_height(const fn_call& fn);
+static as_value stage_displaystate(const fn_call& fn);
static const char* getScaleModeString(movie_root::ScaleMode sm);
static const char* getDisplayStateString(movie_root::DisplayState ds);
@@ -52,32 +52,31 @@
{
VM& vm = getVM(o);
- vm.registerNative(stage_scalemode_getset, 666, 1);
- vm.registerNative(stage_scalemode_getset, 666, 2);
- vm.registerNative(stage_align_getset, 666, 3);
- vm.registerNative(stage_align_getset, 666, 4);
- vm.registerNative(stage_width_getset, 666, 5);
- vm.registerNative(stage_width_getset, 666, 6);
- vm.registerNative(stage_height_getset, 666, 7);
- vm.registerNative(stage_height_getset, 666, 8);
- vm.registerNative(stage_showMenu_getset, 666, 9);
- vm.registerNative(stage_showMenu_getset, 666, 10);
+ vm.registerNative(stage_scalemode, 666, 1);
+ vm.registerNative(stage_scalemode, 666, 2);
+ vm.registerNative(stage_align, 666, 3);
+ vm.registerNative(stage_align, 666, 4);
+ vm.registerNative(stage_width, 666, 5);
+ vm.registerNative(stage_width, 666, 6);
+ vm.registerNative(stage_height, 666, 7);
+ vm.registerNative(stage_height, 666, 8);
+ vm.registerNative(stage_showMenu, 666, 9);
+ vm.registerNative(stage_showMenu, 666, 10);
}
static void
attachStageInterface(as_object& o)
{
- Global_as* gl = getGlobal(o);
const int version = getSWFVersion(o);
if ( version < 5 ) return;
- o.init_property("scaleMode", &stage_scalemode_getset,
&stage_scalemode_getset);
- o.init_property("align", &stage_align_getset, &stage_align_getset);
- o.init_property("width", &stage_width_getset, &stage_width_getset);
- o.init_property("height", &stage_height_getset, &stage_height_getset);
- o.init_property("showMenu", &stage_showMenu_getset,
&stage_showMenu_getset);
- o.init_property("displayState", &stage_displaystate_getset,
&stage_displaystate_getset);
+ o.init_property("scaleMode", &stage_scalemode, &stage_scalemode);
+ o.init_property("align", &stage_align, &stage_align);
+ o.init_property("width", &stage_width, &stage_width);
+ o.init_property("height", &stage_height, &stage_height);
+ o.init_property("showMenu", &stage_showMenu, &stage_showMenu);
+ o.init_property("displayState", &stage_displaystate, &stage_displaystate);
}
@@ -139,7 +138,7 @@
as_value
-stage_scalemode_getset(const fn_call& fn)
+stage_scalemode(const fn_call& fn)
{
boost::intrusive_ptr<as_object> obj=ensureType<as_object>(fn.this_ptr);
@@ -171,7 +170,7 @@
}
as_value
-stage_width_getset(const fn_call& fn)
+stage_width(const fn_call& fn)
{
boost::intrusive_ptr<as_object> obj=ensureType<as_object>(fn.this_ptr);
@@ -189,7 +188,7 @@
}
as_value
-stage_height_getset(const fn_call& fn)
+stage_height(const fn_call& fn)
{
boost::intrusive_ptr<as_object> obj=ensureType<as_object>(fn.this_ptr);
@@ -208,7 +207,7 @@
as_value
-stage_align_getset(const fn_call& fn)
+stage_align(const fn_call& fn)
{
boost::intrusive_ptr<as_object> obj=ensureType<as_object>(fn.this_ptr);
@@ -252,7 +251,7 @@
}
as_value
-stage_showMenu_getset(const fn_call& fn)
+stage_showMenu(const fn_call& fn)
{
boost::intrusive_ptr<Stage_as> stage =
ensureType<Stage_as>(fn.this_ptr);
@@ -269,7 +268,7 @@
}
as_value
-stage_displaystate_getset(const fn_call& fn)
+stage_displaystate(const fn_call& fn)
{
boost::intrusive_ptr<as_object> obj=ensureType<as_object>(fn.this_ptr);
=== modified file 'libcore/asobj/flash/display/display_pkg.cpp'
--- a/libcore/asobj/flash/display/display_pkg.cpp 2009-07-14 06:01:56
+0000
+++ b/libcore/asobj/flash/display/display_pkg.cpp 2009-07-15 10:40:53
+0000
@@ -64,7 +64,7 @@
namespace gnash {
static as_value
-get_flash_display_package(const fn_call& fn)
+get_flash_display_package(const fn_call& /*fn*/)
{
log_debug("Loading flash.display package");
=== modified file 'libcore/asobj/flash/events/ContextMenuEvent_as.cpp'
--- a/libcore/asobj/flash/events/ContextMenuEvent_as.cpp 2009-07-15
09:33:59 +0000
+++ b/libcore/asobj/flash/events/ContextMenuEvent_as.cpp 2009-07-15
10:40:53 +0000
@@ -81,7 +81,7 @@
}
void
-attachContextMenuEventStaticInterface(as_object& o)
+attachContextMenuEventStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/events/DataEvent_as.cpp'
--- a/libcore/asobj/flash/events/DataEvent_as.cpp 2009-07-15 09:33:59
+0000
+++ b/libcore/asobj/flash/events/DataEvent_as.cpp 2009-07-15 10:40:53
+0000
@@ -81,7 +81,7 @@
}
void
-attachDataEventStaticInterface(as_object& o)
+attachDataEventStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/events/EventDispatcher_as.cpp'
--- a/libcore/asobj/flash/events/EventDispatcher_as.cpp 2009-07-15 09:33:59
+0000
+++ b/libcore/asobj/flash/events/EventDispatcher_as.cpp 2009-07-15 10:40:53
+0000
@@ -87,7 +87,7 @@
}
void
-attachEventDispatcherStaticInterface(as_object& o)
+attachEventDispatcherStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/events/Event_as.cpp'
--- a/libcore/asobj/flash/events/Event_as.cpp 2009-07-15 09:33:59 +0000
+++ b/libcore/asobj/flash/events/Event_as.cpp 2009-07-15 10:40:53 +0000
@@ -141,7 +141,7 @@
}
void
-attachEventStaticInterface(as_object& o)
+attachEventStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/events/ProgressEvent_as.cpp'
--- a/libcore/asobj/flash/events/ProgressEvent_as.cpp 2009-07-15 09:33:59
+0000
+++ b/libcore/asobj/flash/events/ProgressEvent_as.cpp 2009-07-15 10:40:53
+0000
@@ -81,7 +81,7 @@
}
void
-attachProgressEventStaticInterface(as_object& o)
+attachProgressEventStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/events/TextEvent_as.cpp'
--- a/libcore/asobj/flash/events/TextEvent_as.cpp 2009-07-15 09:33:59
+0000
+++ b/libcore/asobj/flash/events/TextEvent_as.cpp 2009-07-15 10:40:53
+0000
@@ -81,7 +81,7 @@
}
void
-attachTextEventStaticInterface(as_object& o)
+attachTextEventStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/external/external_pkg.cpp'
--- a/libcore/asobj/flash/external/external_pkg.cpp 2009-07-14 06:01:56
+0000
+++ b/libcore/asobj/flash/external/external_pkg.cpp 2009-07-15 10:40:53
+0000
@@ -33,10 +33,10 @@
namespace gnash {
static as_value
-get_flash_external_package(const fn_call& fn)
+get_flash_external_package(const fn_call& /*fn*/)
{
- log_debug("Loading flash.external package");
+ log_debug("Loading flash.external package");
as_object *pkg = new as_object(getObjectInterface());
=== modified file 'libcore/asobj/flash/filters/BitmapFilterType_as.cpp'
--- a/libcore/asobj/flash/filters/BitmapFilterType_as.cpp 2009-07-14
11:43:51 +0000
+++ b/libcore/asobj/flash/filters/BitmapFilterType_as.cpp 2009-07-15
10:40:53 +0000
@@ -49,7 +49,7 @@
namespace {
void
-attachBitmapFilterTypeStaticInterface(as_object& o)
+attachBitmapFilterTypeStaticInterface(as_object& /*o*/)
{
// TODO: attach constants.
}
=== modified file 'libcore/asobj/flash/geom/geom_pkg.cpp'
--- a/libcore/asobj/flash/geom/geom_pkg.cpp 2009-07-14 06:01:56 +0000
+++ b/libcore/asobj/flash/geom/geom_pkg.cpp 2009-07-15 10:40:53 +0000
@@ -37,30 +37,30 @@
namespace gnash {
static as_value
-get_flash_geom_package(const fn_call& fn)
+get_flash_geom_package(const fn_call& /*fn*/)
{
- log_debug("Loading flash.geom package");
- as_object *pkg = new as_object(getObjectInterface());
+ log_debug("Loading flash.geom package");
+ as_object *pkg = new as_object(getObjectInterface());
- // Call the [objectname]_init() function for each class.
- int i = 0;
- while (geomclasses[i]) {
- geomclasses[i](*pkg);
+ // Call the [objectname]_init() function for each class.
+ int i = 0;
+ while (geomclasses[i]) {
+ geomclasses[i](*pkg);
++i;
}
- return pkg;
+ return pkg;
}
void
flash_geom_package_init(as_object& where)
{
- string_table& st = getStringTable(where);
+ string_table& st = getStringTable(where);
// TODO: this may not be correct, but it should be enumerable.
const int flags = 0;
- where.init_destructive_property(st.find("geom"),
- get_flash_geom_package, flags);
+ where.init_destructive_property(st.find("geom"),
+ get_flash_geom_package, flags);
}
=== modified file 'libcore/asobj/flash/media/SoundChannel_as.cpp'
--- a/libcore/asobj/flash/media/SoundChannel_as.cpp 2009-07-15 09:33:59
+0000
+++ b/libcore/asobj/flash/media/SoundChannel_as.cpp 2009-07-15 10:40:53
+0000
@@ -77,7 +77,7 @@
}
void
-attachSoundChannelStaticInterface(as_object& o)
+attachSoundChannelStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/media/Sound_as.cpp'
--- a/libcore/asobj/flash/media/Sound_as.cpp 2009-07-14 15:39:12 +0000
+++ b/libcore/asobj/flash/media/Sound_as.cpp 2009-07-15 10:51:10 +0000
@@ -1209,7 +1209,7 @@
}
as_value
-sound_ctor(const fn_call& fn)
+sound_ctor(const fn_call& /*fn*/)
{
boost::intrusive_ptr<as_object> obj = new Sound_as;
=== modified file 'libcore/asobj/flash/net/SharedObjectFlushStatus_as.cpp'
--- a/libcore/asobj/flash/net/SharedObjectFlushStatus_as.cpp 2009-07-14
11:18:42 +0000
+++ b/libcore/asobj/flash/net/SharedObjectFlushStatus_as.cpp 2009-07-15
10:40:53 +0000
@@ -51,7 +51,7 @@
namespace {
void
-attachSharedObjectFlushStatusStaticInterface(as_object& o)
+attachSharedObjectFlushStatusStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/net/URLStream_as.cpp'
--- a/libcore/asobj/flash/net/URLStream_as.cpp 2009-07-15 09:33:59 +0000
+++ b/libcore/asobj/flash/net/URLStream_as.cpp 2009-07-15 10:40:53 +0000
@@ -117,7 +117,7 @@
}
void
-attachURLStreamStaticInterface(as_object& o)
+attachURLStreamStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/net/net_pkg.cpp'
--- a/libcore/asobj/flash/net/net_pkg.cpp 2009-07-14 06:01:56 +0000
+++ b/libcore/asobj/flash/net/net_pkg.cpp 2009-07-15 10:40:53 +0000
@@ -52,32 +52,32 @@
namespace gnash {
static as_value
-get_flash_net_package(const fn_call& fn)
+get_flash_net_package(const fn_call& /*fn*/)
{
- log_debug("Loading flash.net package");
+ log_debug("Loading flash.net package");
as_object *pkg = new as_object(getObjectInterface());
- // Call the [objectname]_init() function for each class.
- int i = 0;
+ // Call the [objectname]_init() function for each class.
+ int i = 0;
while (netclasses[i]) {
netclasses[i](*pkg);
++i;
}
- return pkg;
+ return pkg;
}
void
flash_net_package_init(as_object& where)
{
- string_table& st = getStringTable(where);
+ string_table& st = getStringTable(where);
// TODO: this may not be correct, but it should be enumerable.
const int flags = 0;
- where.init_destructive_property(st.find("net"),
- get_flash_net_package, flags);
+ where.init_destructive_property(st.find("net"),
+ get_flash_net_package, flags);
}
=== modified file 'libcore/asobj/flash/printing/PrintJobOrientation_as.cpp'
--- a/libcore/asobj/flash/printing/PrintJobOrientation_as.cpp 2009-07-14
11:18:42 +0000
+++ b/libcore/asobj/flash/printing/PrintJobOrientation_as.cpp 2009-07-15
10:40:53 +0000
@@ -51,7 +51,7 @@
namespace {
void
-attachPrintJobOrientationStaticInterface(as_object& o)
+attachPrintJobOrientationStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/sampler/StackFrame_as.cpp'
--- a/libcore/asobj/flash/sampler/StackFrame_as.cpp 2009-07-15 09:33:59
+0000
+++ b/libcore/asobj/flash/sampler/StackFrame_as.cpp 2009-07-15 10:40:53
+0000
@@ -81,7 +81,7 @@
}
void
-attachStackFrameStaticInterface(as_object& o)
+attachStackFrameStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/system/ApplicationDomain_as.cpp'
--- a/libcore/asobj/flash/system/ApplicationDomain_as.cpp 2009-07-15
09:33:59 +0000
+++ b/libcore/asobj/flash/system/ApplicationDomain_as.cpp 2009-07-15
10:40:53 +0000
@@ -77,7 +77,7 @@
}
void
-attachApplicationDomainStaticInterface(as_object& o)
+attachApplicationDomainStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/text/GridFitType_as.cpp'
--- a/libcore/asobj/flash/text/GridFitType_as.cpp 2009-07-14 11:18:42
+0000
+++ b/libcore/asobj/flash/text/GridFitType_as.cpp 2009-07-15 10:40:53
+0000
@@ -51,7 +51,7 @@
namespace {
void
-attachGridFitTypeStaticInterface(as_object& o)
+attachGridFitTypeStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/text/TextColorType_as.cpp'
--- a/libcore/asobj/flash/text/TextColorType_as.cpp 2009-07-14 11:18:42
+0000
+++ b/libcore/asobj/flash/text/TextColorType_as.cpp 2009-07-15 10:51:10
+0000
@@ -51,7 +51,7 @@
namespace {
void
-attachTextColorTypeStaticInterface(as_object& o)
+attachTextColorTypeStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/text/TextDisplayMode_as.cpp'
--- a/libcore/asobj/flash/text/TextDisplayMode_as.cpp 2009-07-14 11:18:42
+0000
+++ b/libcore/asobj/flash/text/TextDisplayMode_as.cpp 2009-07-15 10:40:53
+0000
@@ -51,7 +51,7 @@
namespace {
void
-attachTextDisplayModeStaticInterface(as_object& o)
+attachTextDisplayModeStaticInterface(as_object& /*o*/)
{
// TODO: add constants here.
}
=== modified file 'libcore/asobj/flash/text/TextFormatAlign_as.cpp'
--- a/libcore/asobj/flash/text/TextFormatAlign_as.cpp 2009-07-14 09:11:14
+0000
+++ b/libcore/asobj/flash/text/TextFormatAlign_as.cpp 2009-07-15 10:40:53
+0000
@@ -55,7 +55,6 @@
void
attachTextFormatAlignStaticInterface(as_object& o)
{
- Global_as* gl = getGlobal(o);
o.init_member("CENTER", "center");
o.init_member("JUSTIFY", "justify");
o.init_member("LEFT", "left");
=== modified file 'libcore/asobj/flash/text/TextSnapshot_as.cpp'
--- a/libcore/asobj/flash/text/TextSnapshot_as.cpp 2009-07-14 13:40:32
+0000
+++ b/libcore/asobj/flash/text/TextSnapshot_as.cpp 2009-07-15 10:40:53
+0000
@@ -386,7 +386,7 @@
};
void
-attachTextSnapshotStaticInterface(as_object& o)
+attachTextSnapshotStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/utils/ByteArray_as.cpp'
--- a/libcore/asobj/flash/utils/ByteArray_as.cpp 2009-07-15 09:33:59
+0000
+++ b/libcore/asobj/flash/utils/ByteArray_as.cpp 2009-07-15 10:40:53
+0000
@@ -131,7 +131,7 @@
}
void
-attachByteArrayStaticInterface(as_object& o)
+attachByteArrayStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/utils/IDataInput_as.cpp'
--- a/libcore/asobj/flash/utils/IDataInput_as.cpp 2009-07-15 09:33:59
+0000
+++ b/libcore/asobj/flash/utils/IDataInput_as.cpp 2009-07-15 10:40:53
+0000
@@ -101,7 +101,7 @@
}
void
-attachIDataInputStaticInterface(as_object& o)
+attachIDataInputStaticInterface(as_object& /*o*/)
{
}
=== modified file 'libcore/asobj/flash/utils/IExternalizable_as.cpp'
--- a/libcore/asobj/flash/utils/IExternalizable_as.cpp 2009-07-15 09:33:59
+0000
+++ b/libcore/asobj/flash/utils/IExternalizable_as.cpp 2009-07-15 10:40:53
+0000
@@ -77,7 +77,7 @@
}
void
-attachIExternalizableStaticInterface(as_object& o)
+attachIExternalizableStaticInterface(as_object& /*o*/)
{
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11260: Fix all compiler warnings in libcore except those in TextField (which it,
Benjamin Wolsey <=