Commit 5e329ba7 authored by Martin Sustrik's avatar Martin Sustrik

Minor patch to keep ICC compiler happy

ICC doesn't recognise that assert(false) terminates the program
and thus complains that certain functions have no return values.
This patch supplies dummy return values to keep the compiler happy.
Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent 6ecec9bb
......@@ -188,6 +188,7 @@ void *zmq::msg_t::data ()
return u.lmsg.content->data;
default:
zmq_assert (false);
return NULL;
}
}
......@@ -203,6 +204,7 @@ size_t zmq::msg_t::size ()
return u.lmsg.content->size;
default:
zmq_assert (false);
return 0;
}
}
......
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