add default: to appease gcc.

This commit is contained in:
christos 2016-03-17 00:19:36 +00:00
parent f2192299b9
commit 9601406bf3
1 changed files with 4 additions and 2 deletions

View File

@ -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 && input[1] == '\0')
"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));