gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash testsuite/libamf.all/test_object.cpp test...


From: Martin Guy
Subject: [Gnash-commit] gnash testsuite/libamf.all/test_object.cpp test...
Date: Thu, 19 Apr 2007 15:48:49 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Martin Guy <martinwguy> 07/04/19 15:48:49

Modified files:
        testsuite/libamf.all: test_object.cpp test_variable.cpp 
        testsuite/misc-ming.all: PlaceObject2Test.c 
                                 action_execution_order_test6.c 
                                 root_stop_test.c 
        .              : ChangeLog 

Log message:
        Drop/comment unused variables.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_object.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_variable.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/PlaceObject2Test.c?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test6.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/root_stop_test.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2933&r2=1.2934

Patches:
Index: testsuite/libamf.all/test_object.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/test_object.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/libamf.all/test_object.cpp        19 Apr 2007 15:17:33 -0000      
1.4
+++ testsuite/libamf.all/test_object.cpp        19 Apr 2007 15:48:48 -0000      
1.5
@@ -68,9 +68,8 @@
 int
 main(int argc, char *argv[])
 {
-    bool dump = false;
     char buffer[300];
-    int c, retries = 3;
+    int c;
 
     memset(buffer, 0, 300);
     
@@ -100,7 +99,6 @@
     int fd, ret;
     unsigned char buf[AMF_PACKET_SIZE+1];
     unsigned char *tmpptr;
-    short length;
     AMF::amf_element_t el;
 
     // First see if we can read strings. This file is produced by

Index: testsuite/libamf.all/test_variable.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/test_variable.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/libamf.all/test_variable.cpp      19 Apr 2007 15:17:33 -0000      
1.3
+++ testsuite/libamf.all/test_variable.cpp      19 Apr 2007 15:48:48 -0000      
1.4
@@ -68,9 +68,8 @@
 int
 main(int argc, char *argv[])
 {
-    bool dump = false;
     char buffer[300];
-    int c, retries = 3;
+    int c;
 
     memset(buffer, 0, 300);
     
@@ -99,8 +98,6 @@
     AMF amf_obj;
     int fd, ret;
     unsigned char buf[AMF_PACKET_SIZE+1];
-    unsigned char *tmpptr;
-    short length;
     AMF::amf_element_t el;
 
     // First see if we can read variables. This file is produced by
@@ -187,7 +184,6 @@
     }
     
     amfnum_t bignum = 0x388340L;
-    char *numptr = (char *)&bignum;
     out = (char *)amf_obj.encodeVariable("audioCodecs", bignum);
     if ((out[1] == 11)
         && (out[2] == 'a')

Index: testsuite/misc-ming.all/PlaceObject2Test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/PlaceObject2Test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/PlaceObject2Test.c  29 Oct 2006 18:34:18 -0000      
1.5
+++ testsuite/misc-ming.all/PlaceObject2Test.c  19 Apr 2007 15:48:48 -0000      
1.6
@@ -35,7 +35,7 @@
 #define OUTPUT_FILENAME "PlaceObject2Test.swf"
 
 int
-main(int argc, char **argv)
+main()
 {
        SWFMovie mo;
        SWFDisplayItem it;

Index: testsuite/misc-ming.all/action_execution_order_test6.c
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test6.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/action_execution_order_test6.c      5 Apr 2007 
07:03:43 -0000       1.3
+++ testsuite/misc-ming.all/action_execution_order_test6.c      19 Apr 2007 
15:48:48 -0000      1.4
@@ -83,9 +83,8 @@
 main(int argc, char** argv)
 {
   SWFMovie mo;
-  SWFMovieClip  mc1, mc2, mc3, mc4, mc5, dejagnuclip;
-  SWFDisplayItem it1, it2, it3, it4, it5;
-  SWFShape  sh_red;
+  SWFMovieClip  mc1, mc2, mc3, dejagnuclip;
+  SWFDisplayItem it1, it2, it3;
 
   const char *srcdir=".";
   if ( argc>1 ) 

Index: testsuite/misc-ming.all/root_stop_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/root_stop_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/root_stop_test.c    22 Dec 2006 09:05:07 -0000      
1.2
+++ testsuite/misc-ming.all/root_stop_test.c    19 Apr 2007 15:48:48 -0000      
1.3
@@ -74,7 +74,8 @@
 main(int argc, char** argv)
 {
        SWFMovie mo;
-       SWFMovieClip mc, dejagnuclip;
+       SWFMovieClip mc;
+       // SWFMovieClip dejagnuclip;
        SWFShape  sh1,sh2;
        SWFAction ac1, ac2;
        int i;

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2933
retrieving revision 1.2934
diff -u -b -r1.2933 -r1.2934
--- ChangeLog   19 Apr 2007 15:42:20 -0000      1.2933
+++ ChangeLog   19 Apr 2007 15:48:48 -0000      1.2934
@@ -19,6 +19,10 @@
 
        * testsuite/actionscript.all/Date.as: Change case-[in]dependent
          method existence detection strategy to see if it fixes v5 testrun.
+       * testsuite/libamf.all/test_{object,variable}.cpp,
+         testsuite/misc-ming.all/{PlaceObject2Test,root_stop_test}.c,
+         testsuite/misc-ming.all/action_execution_order_test6.c:
+         Drop/comment unused variables.
 
 2007-04-19 Sandro Santilli <address@hidden>
 




reply via email to

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