Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/nvi/dist/ex add default: to appease gcc.



details:   https://anonhg.NetBSD.org/src/rev/f95b3656adc5
branches:  trunk
changeset: 814357:f95b3656adc5
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 17 00:19:36 2016 +0000

description:
add default: to appease gcc.

diffstat:

 external/bsd/nvi/dist/ex/ex_map.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 6c658c30b56d -r f95b3656adc5 external/bsd/nvi/dist/ex/ex_map.c
--- a/external/bsd/nvi/dist/ex/ex_map.c Thu Mar 17 00:17:58 2016 +0000
+++ b/external/bsd/nvi/dist/ex/ex_map.c Thu Mar 17 00:19:36 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ex_map.c,v 1.3 2014/01/26 21:43:45 christos Exp $ */
+/*     $NetBSD: ex_map.c,v 1.4 2016/03/17 00:19:36 christos Exp $ */
 /*-
  * Copyright (c) 1992, 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -16,7 +16,7 @@
 static const char sccsid[] = "Id: ex_map.c,v 10.11 2001/06/25 15:19:17 skimo Exp  (Berkeley) Date: 2001/06/25 15:19:17 ";
 #endif /* not lint */
 #else
-__RCSID("$NetBSD: ex_map.c,v 1.3 2014/01/26 21:43:45 christos Exp $");
+__RCSID("$NetBSD: ex_map.c,v 1.4 2016/03/17 00:19:36 christos Exp $");
 #endif
 
 #include <sys/types.h>
@@ -99,6 +99,8 @@
                            "134|The %s character may not be remapped",
                            KEY_NAME(sp, input[0]));
                        return (1);
+               default:
+                       break;
                }
        return (seq_set(sp, NULL, 0, input, cmdp->argv[0]->len,
            cmdp->argv[1]->bp, cmdp->argv[1]->len, stype, SEQ_USERDEF));



Home | Main Index | Thread Index | Old Index