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_sol.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash/testsuite/libamf.all test_sol.cpp
Date: Wed, 26 Mar 2008 17:33:58 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/03/26 17:33:58

Modified files:
        testsuite/libamf.all: test_sol.cpp 

Log message:
        fix compiler warnings

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_sol.cpp?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: test_sol.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/test_sol.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- test_sol.cpp        22 Feb 2008 08:16:21 -0000      1.7
+++ test_sol.cpp        26 Mar 2008 17:33:58 -0000      1.8
@@ -58,8 +58,8 @@
 
 static TestState runtest;
 
-bool test_read(std::string &filespec);
-bool test_write(std::string &filespec);
+static void test_read(std::string &filespec);
+static void test_write(std::string &filespec);
 bool test_sol(std::string &filespec);
 
 LogFile& dbglogfile = LogFile::getDefaultInstance();
@@ -100,7 +100,7 @@
 //    test_sol();
 }
 
-bool
+void
 test_read(std::string &filespec)
 {
     GNASH_REPORT_FUNCTION;
@@ -135,7 +135,7 @@
     }
 }
 
-bool
+void
 test_write(std::string &filespec)
 {
     GNASH_REPORT_FUNCTION;
@@ -165,8 +165,8 @@
         runtest.fail("gain set");
     }
 
-    uint8_t *foo;
-    char *ptr;
+    //uint8_t *foo;
+    //char *ptr;
 #if 0
     foo = amf_obj.encodeVariable(el); 
     ptr = (char *)amf_obj.extractVariable(&newel, foo);




reply via email to

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