Commit af104bfa authored by Fabrice Bellet's avatar Fabrice Bellet
Browse files

candidate: fix unused variable

parent 4a378b88
Pipeline #243651 passed with stages
in 21 minutes and 26 seconds
......@@ -404,10 +404,9 @@ nice_candidate_pair_priority_to_string (guint64 prio, gchar *string)
NICEAPI_EXPORT NiceCandidate *
nice_candidate_copy (const NiceCandidate *candidate)
{
const NiceCandidateImpl *c = (NiceCandidateImpl *)candidate;
NiceCandidateImpl *copy;
g_return_val_if_fail (c != NULL, NULL);
g_return_val_if_fail (candidate != NULL, NULL);
copy = (NiceCandidateImpl *) nice_candidate_new (candidate->type);
memcpy (copy, candidate, sizeof(NiceCandidateImpl));
......
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