[PATCH] cif: fix dead code
Al Viro
viro at ZenIV.linux.org.uk
Tue Apr 15 02:16:12 MDT 2014
On Tue, Apr 15, 2014 at 10:06:50AM +0200, Michael Opdenacker wrote:
> This issue was found by Coverity (CID 1202536)
>
> This proposes a fix for a statement that creates dead code.
> The "rc < 0" statement is within code that is run
> with "rc > 0".
>
> It seems like "err < 0" was meant to be used here.
> This way, the error code is returned by the function.
Acked-by: Al Viro <viro at zeniv.linux.org.uk>
More information about the samba-technical
mailing list