Date: Tue, 10 May 2016 20:14:11 +0000 (UTC) From: "Conrad E. Meyer" <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299387 - head/sys/netipsec Message-ID: <201605102014.u4AKEB4c057114@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cem Date: Tue May 10 20:14:11 2016 New Revision: 299387 URL: https://svnweb.freebsd.org/changeset/base/299387 Log: netipsec: Fix minor style nit Coverity points out that 'continue' is equivalent to 'break' in a do {} while(false) loop. Reported by: Coverity CID: 1354983 Sponsored by: EMC / Isilon Storage Division Modified: head/sys/netipsec/key.c Modified: head/sys/netipsec/key.c ============================================================================== --- head/sys/netipsec/key.c Tue May 10 20:12:27 2016 (r299386) +++ head/sys/netipsec/key.c Tue May 10 20:14:11 2016 (r299387) @@ -351,7 +351,7 @@ do { \ if ((head) != (sav)) { \ ipseclog((LOG_DEBUG, "%s: state mismatched (TREE=%d SA=%d)\n", \ (name), (head), (sav))); \ - continue; \ + break; \ } \ } while (0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605102014.u4AKEB4c057114>