0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-17 04:50:57 +08:00

Merge pull request #419 from hurtonm/code_cleanup

Code cleanup
This commit is contained in:
Ian Barber 2012-09-03 13:58:06 -07:00
commit d0687876c0
2 changed files with 0 additions and 4 deletions

View File

@ -135,9 +135,6 @@ namespace zmq
// The session this engine is attached to.
zmq::session_base_t *session;
// Detached transient session.
zmq::session_base_t *leftover_session;
options_t options;
// String representation of endpoint

View File

@ -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
// to be retrived by the user later on.
xpub_t *self = (xpub_t*) arg_;
blob_t unsub (size_ + 1, 0);
unsub [0] = 0;
memcpy (&unsub [1], data_, size_);