Fix test warning.

This commit is contained in:
Richard Newton 2013-10-28 08:30:31 +00:00
parent c9772d0a5c
commit 15f5b7ff6a

View File

@ -40,7 +40,7 @@ int main (void) {
zmq_send(dealer, "", 0, 0); zmq_send(dealer, "", 0, 0);
zmq_msg_t ident, empty, echo; zmq_msg_t ident, empty;
zmq_msg_init(&ident); zmq_msg_init(&ident);
rc = zmq_msg_recv(&ident, router, 0); rc = zmq_msg_recv(&ident, router, 0);
assert(rc >= 0); assert(rc >= 0);
@ -62,4 +62,4 @@ int main (void) {
close_zero_linger(dealer); close_zero_linger(dealer);
close_zero_linger(router); close_zero_linger(router);
zmq_ctx_term(ctx); zmq_ctx_term(ctx);
} }