Commit eec972a5 authored by Luca Boccassi's avatar Luca Boccassi

Problem: unused variable in test tool

Solution: don't write it
parent c819eedd
...@@ -339,9 +339,9 @@ void expect_monitor_event_v2 (void *monitor_, ...@@ -339,9 +339,9 @@ void expect_monitor_event_v2 (void *monitor_,
} }
if (expected_remote_address_ if (expected_remote_address_
&& 0 != strcmp (remote_address, expected_remote_address_)) { && 0 != strcmp (remote_address, expected_remote_address_)) {
pos += snprintf (pos, sizeof buf - (pos - buf), snprintf (pos, sizeof buf - (pos - buf),
"Expected remote address %s, but received %s\n", "Expected remote address %s, but received %s\n",
expected_remote_address_, remote_address); expected_remote_address_, remote_address);
} }
free (local_address); free (local_address);
free (remote_address); free (remote_address);
......
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