diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2009-11-19 16:14:01 -0500 |
---|---|---|
committer | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2009-11-19 16:14:01 -0500 |
commit | 61dfce55e14a8739ba3e6d2d8033e444ef9455df (patch) | |
tree | 6c4256abbe5bd022014064ee6d38e2a44bd74fc4 /stun | |
parent | 83bb8d9af9dfd68fc0e4f64acb6b6c175b416cdf (diff) | |
download | libnice-61dfce55e14a8739ba3e6d2d8033e444ef9455df.tar.gz |
in order to please coverity, do not have the return at the end of the function never reachable
Diffstat (limited to 'stun')
-rw-r--r-- | stun/usages/bind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stun/usages/bind.c b/stun/usages/bind.c index 7df194e..fdfba49 100644 --- a/stun/usages/bind.c +++ b/stun/usages/bind.c @@ -518,11 +518,11 @@ StunUsageBindReturn stun_usage_bind_run (const struct sockaddr *srv, } else if (bind_ret == STUN_USAGE_BIND_RETURN_INVALID) { ret = STUN_USAGE_TRANS_RETURN_RETRY; } else { - return bind_ret; + break; } } } while (ret == STUN_USAGE_TRANS_RETURN_RETRY); - return STUN_USAGE_BIND_RETURN_SUCCESS; + return bind_ret; } |