Commit 28fbee74 authored by Phillip Mienk's avatar Phillip Mienk

Suppress warning on uninitialized variable use by initializing variable.

parent fb59cd1a
......@@ -182,7 +182,7 @@ int zmq::tcp_address_t::resolve_nic_name (const char *nic_, bool ipv6_, bool is_
{
// Get the addresses.
ifaddrs *ifa = NULL;
int rc;
int rc = 0;
const int max_attempts = 10;
const int backoff_msec = 1;
for (int i = 0; i < max_attempts; i++) {
......
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