Commit d0687876 authored by Ian Barber's avatar Ian Barber

Merge pull request #419 from hurtonm/code_cleanup

Code cleanup
parents 9143ac51 9d17ead3
...@@ -135,9 +135,6 @@ namespace zmq ...@@ -135,9 +135,6 @@ namespace zmq
// The session this engine is attached to. // The session this engine is attached to.
zmq::session_base_t *session; zmq::session_base_t *session;
// Detached transient session.
zmq::session_base_t *leftover_session;
options_t options; options_t options;
// String representation of endpoint // String representation of endpoint
......
...@@ -164,7 +164,6 @@ void zmq::xpub_t::send_unsubscription (unsigned char *data_, size_t size_, ...@@ -164,7 +164,6 @@ void zmq::xpub_t::send_unsubscription (unsigned char *data_, size_t size_,
// Place the unsubscription to the queue of pending (un)sunscriptions // Place the unsubscription to the queue of pending (un)sunscriptions
// to be retrived by the user later on. // to be retrived by the user later on.
xpub_t *self = (xpub_t*) arg_;
blob_t unsub (size_ + 1, 0); blob_t unsub (size_ + 1, 0);
unsub [0] = 0; unsub [0] = 0;
memcpy (&unsub [1], data_, size_); memcpy (&unsub [1], data_, size_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment