diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-04-18 02:52:19 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-04-18 02:52:19 +0000 |
commit | 0b2c24da78f24f4495f201e948086d0a07c52226 (patch) | |
tree | 3381b6e4fb5859df7ae64d2f9b4ba97f87f1c6ab /usr.bin | |
parent | d9b9816271e58dc23c1e8998310d856783c8cf0c (diff) |
/* FALLTHROUGH */ to share code between the -N and -n flags.
OK joris@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rcs/ci.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index bc8921d0663..010d733eab3 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.151 2006/04/18 02:49:31 ray Exp $ */ +/* $OpenBSD: ci.c,v 1.152 2006/04/18 02:52:18 ray Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -160,13 +160,8 @@ checkin_main(int argc, char **argv) pb.flags &= ~INTERACTIVE; break; case 'N': - if (pb.symbol != NULL) - xfree(pb.symbol); - pb.symbol = xstrdup(rcs_optarg); - if (rcs_sym_check(pb.symbol) != 1) - fatal("invalid symbol `%s'", pb.symbol); pb.flags |= CI_SYMFORCE; - break; + /* FALLTHROUGH */ case 'n': if (pb.symbol != NULL) xfree(pb.symbol); |