From 98e3d75e2552c7f1eb522392907416b68fadecfa Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Wed, 8 Sep 2010 15:15:51 +0000 Subject: Set rcs_suffixes to default value on initialization. ok ray zinovik --- usr.bin/rcs/rcsutil.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'usr.bin/rcs/rcsutil.c') 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 * Copyright (c) 2006 Xavier Santolaria @@ -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; /* -- cgit v1.2.3