mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +08:00
Fix test warning.
This commit is contained in:
parent
60032ef330
commit
f0b69bba28
@ -40,7 +40,7 @@ int main (void) {
|
||||
zmq_send(dealer, "", 0, 0);
|
||||
|
||||
|
||||
zmq_msg_t ident, empty, echo;
|
||||
zmq_msg_t ident, empty;
|
||||
zmq_msg_init(&ident);
|
||||
rc = zmq_msg_recv(&ident, router, 0);
|
||||
assert(rc >= 0);
|
||||
@ -62,4 +62,4 @@ int main (void) {
|
||||
close_zero_linger(dealer);
|
||||
close_zero_linger(router);
|
||||
zmq_ctx_term(ctx);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user