summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsutil.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/rcsutil.c
parentdcfac19c137f5f64521068c172324430a8cf2e03 (diff)
Set rcs_suffixes to default value on initialization.
ok ray zinovik
Diffstat (limited to 'usr.bin/rcs/rcsutil.c')
-rw-r--r--usr.bin/rcs/rcsutil.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/rcs/rcsutil.c b/usr.bin/rcs/rcsutil.c
index 80948a00408..54f737f5c52 100644
--- a/usr.bin/rcs/rcsutil.c
+++ b/usr.bin/rcs/rcsutil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsutil.c,v 1.35 2010/07/28 09:07:11 ray Exp $ */
+/* $OpenBSD: rcsutil.c,v 1.36 2010/09/08 15:15:50 tobias Exp $ */
/*
* Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -153,10 +153,6 @@ rcs_choosefile(const char *filename, char *out, size_t len)
char *p, *ext, name[MAXPATHLEN], *next, *ptr, rcsdir[MAXPATHLEN],
*suffixes, rcspath[MAXPATHLEN];
- /* If -x flag was not given, use default. */
- if (rcs_suffixes == NULL)
- rcs_suffixes = RCS_DEFAULT_SUFFIX;
-
fd = -1;
/*