Module Name: src
Committed By: christos
Date: Thu Mar 17 00:19:36 UTC 2016
Modified Files:
src/external/bsd/nvi/dist/ex: ex_map.c
Log Message:
add default: to appease gcc.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/nvi/dist/ex/ex_map.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/nvi/dist/ex/ex_map.c
diff -u src/external/bsd/nvi/dist/ex/ex_map.c:1.3 src/external/bsd/nvi/dist/ex/ex_map.c:1.4
--- src/external/bsd/nvi/dist/ex/ex_map.c:1.3 Sun Jan 26 16:43:45 2014
+++ src/external/bsd/nvi/dist/ex/ex_map.c Wed Mar 16 20:19:36 2016
@@ -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 @@ nofunc: if (stype == SEQ_COMMAND && inpu
"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));