Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpcap Remove break after goto (lint complains).



details:   https://anonhg.NetBSD.org/src/rev/f03ef060db4a
branches:  trunk
changeset: 588094:f03ef060db4a
user:      wiz <wiz%NetBSD.org@localhost>
date:      Tue Feb 07 20:13:22 2006 +0000

description:
Remove break after goto (lint complains).

diffstat:

 lib/libpcap/bpf_image.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 020d30e4e893 -r f03ef060db4a lib/libpcap/bpf_image.c
--- a/lib/libpcap/bpf_image.c   Tue Feb 07 20:10:48 2006 +0000
+++ b/lib/libpcap/bpf_image.c   Tue Feb 07 20:13:22 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bpf_image.c,v 1.7 2004/09/27 23:02:53 dyoung Exp $     */
+/*     $NetBSD: bpf_image.c,v 1.8 2006/02/07 20:13:22 wiz Exp $        */
 
 /*
  * Copyright (c) 1990, 1991, 1992, 1994, 1995, 1996
@@ -27,7 +27,7 @@
 static const char rcsid[] =
     "@(#) Header: /tcpdump/master/libpcap/bpf_image.c,v 1.25.2.1 2003/11/15 23:26:38 guy Exp  (LBL)";
 #else
-__RCSID("$NetBSD: bpf_image.c,v 1.7 2004/09/27 23:02:53 dyoung Exp $");
+__RCSID("$NetBSD: bpf_image.c,v 1.8 2006/02/07 20:13:22 wiz Exp $");
 #endif
 #endif
 
@@ -242,7 +242,6 @@
        case BPF_ALU|BPF_RSH|BPF_K:
                op = "rsh";
                goto immediate;
-               break;
 
        case BPF_ALU|BPF_NEG:
                op = "neg";



Home | Main Index | Thread Index | Old Index