Problem: unused get_credential methods and associated fields

Solution: remove them
This commit is contained in:
Simon Giesecke
2018-08-13 15:22:18 +02:00
parent 0b1589dbba
commit da30ff7d3d
26 changed files with 1 additions and 102 deletions

View File

@@ -72,7 +72,6 @@ void zmq::dgram_t::xpipe_terminated (pipe_t *pipe_)
{
if (pipe_ == _pipe) {
if (_last_in == _pipe) {
_saved_credential.set_deep_copy (_last_in->get_credential ());
_last_in = NULL;
}
_pipe = NULL;
@@ -171,8 +170,3 @@ bool zmq::dgram_t::xhas_out ()
return _pipe->check_write ();
}
const zmq::blob_t &zmq::dgram_t::get_credential () const
{
return _last_in ? _last_in->get_credential () : _saved_credential;
}