pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libfetch/files libfetch: add FALLTHROUGH comment f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0fa1273a400b
branches:  trunk
changeset: 329550:0fa1273a400b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 11 10:34:36 2019 +0000

description:
libfetch: add FALLTHROUGH comment for gcc 7

To fix pkg_install build.

diffstat:

 net/libfetch/files/ftp.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r efc69f5116b1 -r 0fa1273a400b net/libfetch/files/ftp.c
--- a/net/libfetch/files/ftp.c  Mon Feb 11 10:07:48 2019 +0000
+++ b/net/libfetch/files/ftp.c  Mon Feb 11 10:34:36 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ftp.c,v 1.46 2014/06/11 13:12:12 joerg Exp $   */
+/*     $NetBSD: ftp.c,v 1.47 2019/02/11 10:34:36 wiz Exp $     */
 /*-
  * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
  * Copyright (c) 2008, 2009, 2010 Joerg Sonnenberger <joerg%NetBSD.org@localhost>
@@ -452,6 +452,7 @@
                break;
        case 'd':
                type = 'D';
+               /* FALLTHROUGH */
        case 'D':
                /* can't handle yet */
        default:



Home | Main Index | Thread Index | Old Index