summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/ci.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2010-09-08 15:15:51 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2010-09-08 15:15:51 +0000
commit98e3d75e2552c7f1eb522392907416b68fadecfa (patch)
treed7e7a8223a937523a124da61d14b3af15e3eee3b /usr.bin/rcs/ci.c
parentdcfac19c137f5f64521068c172324430a8cf2e03 (diff)
Set rcs_suffixes to default value on initialization.
ok ray zinovik
Diffstat (limited to 'usr.bin/rcs/ci.c')
-rw-r--r--usr.bin/rcs/ci.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index e8f654ff69e..d50f8d165bf 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.210 2010/07/30 21:47:18 ray Exp $ */
+/* $OpenBSD: ci.c,v 1.211 2010/09/08 15:15:50 tobias Exp $ */
/*
* Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -242,10 +242,6 @@ checkin_main(int argc, char **argv)
if ((pb.username = getlogin()) == NULL)
err(1, "getlogin");
- /* If -x flag was not given, use default. */
- if (rcs_suffixes == NULL)
- rcs_suffixes = RCS_DEFAULT_SUFFIX;
-
for (i = 0; i < argc; i++) {
/*
* The pb.flags and pb.openflags may change during