Commit 61dfce55 authored by Youness Alaoui's avatar Youness Alaoui

in order to please coverity, do not have the return at the end of the function never reachable

parent 83bb8d9a
...@@ -518,11 +518,11 @@ StunUsageBindReturn stun_usage_bind_run (const struct sockaddr *srv, ...@@ -518,11 +518,11 @@ StunUsageBindReturn stun_usage_bind_run (const struct sockaddr *srv,
} else if (bind_ret == STUN_USAGE_BIND_RETURN_INVALID) { } else if (bind_ret == STUN_USAGE_BIND_RETURN_INVALID) {
ret = STUN_USAGE_TRANS_RETURN_RETRY; ret = STUN_USAGE_TRANS_RETURN_RETRY;
} else { } else {
return bind_ret; break;
} }
} }
} }
while (ret == STUN_USAGE_TRANS_RETURN_RETRY); while (ret == STUN_USAGE_TRANS_RETURN_RETRY);
return STUN_USAGE_BIND_RETURN_SUCCESS; return bind_ret;
} }
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