My effort in writing the commit message has been quite poor.

The assignment is useless because 'ret' is re-assigned a few lines later
without ever being read.

Cheers,

On 24/08/17 15:53, Antonio Quartulli wrote:
> Signed-off-by: Antonio Quartulli <a...@unstable.cc>
> ---
>  src/openvpn/multi.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/openvpn/multi.h b/src/openvpn/multi.h
> index 5892ac07..6cdb0110 100644
> --- a/src/openvpn/multi.h
> +++ b/src/openvpn/multi.h
> @@ -633,7 +633,7 @@ multi_process_outgoing_tun(struct multi_context *m, const 
> unsigned int mpp_flags
>  static inline bool
>  multi_process_outgoing_link_dowork(struct multi_context *m, struct 
> multi_instance *mi, const unsigned int mpp_flags)
>  {
> -    bool ret = true;
> +    bool ret;
>      set_prefix(mi);
>      process_outgoing_link(&mi->context);
>      ret = multi_process_post(m, mi, mpp_flags);
> 

-- 
Antonio Quartulli

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to