diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-03-18 14:28:12 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-03-18 14:28:12 +0000 |
commit | f81db159872a4fad15ec65c69dd7e4dbf09f3388 (patch) | |
tree | 8160c809897289dcb0a348a3c9551ba75f9e120b | |
parent | 1ab62e8b67ceddd42fe4c8b695eff9d8a982ca6d (diff) | |
download | ATCD-f81db159872a4fad15ec65c69dd7e4dbf09f3388.tar.gz |
Wed Mar 18 14:28:22 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* protocols/ace/RMCast/Acknowledge.cpp:
* protocols/ace/RMCast/Protocol.h:
Initialise pointers with 0
-rw-r--r-- | ACE/ChangeLog | 6 | ||||
-rw-r--r-- | ACE/protocols/ace/RMCast/Acknowledge.cpp | 2 | ||||
-rw-r--r-- | ACE/protocols/ace/RMCast/Protocol.h | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog index d562b274877..d579d80fa3f 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,9 @@ +Wed Mar 18 14:28:22 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl> + + * protocols/ace/RMCast/Acknowledge.cpp: + * protocols/ace/RMCast/Protocol.h: + Initialise pointers with 0 + Wed Mar 18 11:23:22 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl> * ace/config-cygwin32.h: diff --git a/ACE/protocols/ace/RMCast/Acknowledge.cpp b/ACE/protocols/ace/RMCast/Acknowledge.cpp index 055041c0287..2423357e92a 100644 --- a/ACE/protocols/ace/RMCast/Acknowledge.cpp +++ b/ACE/protocols/ace/RMCast/Acknowledge.cpp @@ -67,7 +67,7 @@ namespace ACE_RMCast for (;; ++sn) { - Queue::ENTRY* e; + Queue::ENTRY* e = 0; if (q.find (sn, e) == -1 || e->int_id_.lost ()) break; diff --git a/ACE/protocols/ace/RMCast/Protocol.h b/ACE/protocols/ace/RMCast/Protocol.h index cf2c2d2289d..50090523ad0 100644 --- a/ACE/protocols/ace/RMCast/Protocol.h +++ b/ACE/protocols/ace/RMCast/Protocol.h @@ -910,7 +910,7 @@ namespace ACE_RMCast // for (iterator i (this_.begin ()); !i.done (); i.advance ()) { - u64* psn; + u64* psn = 0; i.next (psn); os << *psn; } |