gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/rtmp r9597: Set _name to 0 when constructi


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9597: Set _name to 0 when constructing, reduce verbosity.
Date: Tue, 26 Aug 2008 18:19:49 -0600
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9597
committer: address@hidden
branch nick: rtmp
timestamp: Tue 2008-08-26 18:19:49 -0600
message:
  Set _name to 0 when constructing, reduce verbosity.
modified:
  libamf/element.cpp
=== modified file 'libamf/element.cpp'
--- a/libamf/element.cpp        2008-08-26 22:47:26 +0000
+++ b/libamf/element.cpp        2008-08-27 00:19:49 +0000
@@ -63,7 +63,7 @@
 };
 
 Element::Element()
-    : _name(),
+    : _name(0),
       _buffer(0),
       _type(NOTYPE)
 {
@@ -74,10 +74,6 @@
 Element::~Element()
 {
 //    GNASH_REPORT_FUNCTION;
-//     if (_name) {
-//     cerr << "Deleting " << _name << endl;
-//     }
-    
     for (size_t i=0; i< _properties.size(); i++) {
        delete _properties[i];
     }
@@ -87,7 +83,7 @@
 
 
 Element::Element(Network::byte_t *indata) 
-    : _name(),
+    : _name(0),
       _buffer(0),
       _type(NOTYPE)
 {


reply via email to

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