gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11859: Silence debugging.


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11859: Silence debugging.
Date: Tue, 02 Feb 2010 12:53:17 +0100
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 11859 [merge]
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Tue 2010-02-02 12:53:17 +0100
message:
  Silence debugging.
modified:
  libamf/lcshm.cpp
  libcore/asobj/flash/net/LocalConnection_as.cpp
=== modified file 'libamf/lcshm.cpp'
--- a/libamf/lcshm.cpp  2010-01-25 18:52:20 +0000
+++ b/libamf/lcshm.cpp  2010-02-02 11:45:01 +0000
@@ -591,24 +591,12 @@
        
        std::vector<amf::Element* >::iterator iter;
                   
-    log_debug(_(" ***** The send function is called *****") ); 
-//     log_debug("Base address in 'send' is: 0x%x, 0x%x",(unsigned 
int)Listener::getBaseAddress(), (unsigned int)_baseaddr);
-                          
-       if ( Listener::getBaseAddress() == 0x0 )
-              {
-                  log_debug("STOP! No memory allocated!! ");
-                  return;
-          }
+       if (!Listener::getBaseAddress()) return;
 
-//The base address
+    //The base address
      boost::uint8_t *baseptr = Listener::getBaseAddress();        
      boost::uint8_t *ptr = baseptr;     
 
-// Check if the base address exists
-    if (baseptr == reinterpret_cast<boost::uint8_t *>(0)) {
-        log_error("***** Base address in 'send' is not set! *****");
-       }
-
 // Compute the time
 // Please check before use.
 // Put this value into the header if necessary.

=== modified file 'libcore/asobj/flash/net/LocalConnection_as.cpp'
--- a/libcore/asobj/flash/net/LocalConnection_as.cpp    2010-01-25 18:52:20 
+0000
+++ b/libcore/asobj/flash/net/LocalConnection_as.cpp    2010-02-02 11:45:01 
+0000
@@ -332,8 +332,6 @@
     LocalConnection_as* relay = ensure<ThisIsNative<LocalConnection_as> >(fn);
     // At least 2 args (connection name, function) required.
 
-   log_debug(_("The number of args is %d \n"), fn.nargs) ;
-     
     if (fn.nargs < 2) {
         IF_VERBOSE_ASCODING_ERRORS(
             std::ostringstream os;


reply via email to

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