Problem: unused variable in test tool

Solution: don't write it
This commit is contained in:
Luca Boccassi 2019-07-09 17:31:36 +01:00
parent c819eedd89
commit eec972a5b4

View File

@ -339,9 +339,9 @@ void expect_monitor_event_v2 (void *monitor_,
}
if (expected_remote_address_
&& 0 != strcmp (remote_address, expected_remote_address_)) {
pos += snprintf (pos, sizeof buf - (pos - buf),
"Expected remote address %s, but received %s\n",
expected_remote_address_, remote_address);
snprintf (pos, sizeof buf - (pos - buf),
"Expected remote address %s, but received %s\n",
expected_remote_address_, remote_address);
}
free (local_address);
free (remote_address);