diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-04-10 08:08:01 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-04-10 08:08:01 +0000 |
commit | 6931a528d08a8c9f0cb64dc3dd4f8a2492de405b (patch) | |
tree | 33826c452f4d1e1fa9123732d37e88a3a0baab59 /usr.bin/rcs/co.c | |
parent | 5f66dcea266683bbff00705f64acceee5113f98c (diff) |
change rcs_kwexp_set() return type to void and simplify its use. OK niallo@.
Diffstat (limited to 'usr.bin/rcs/co.c')
-rw-r--r-- | usr.bin/rcs/co.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/rcs/co.c b/usr.bin/rcs/co.c index 9ddc0bcd8c0..0a335b1f2bf 100644 --- a/usr.bin/rcs/co.c +++ b/usr.bin/rcs/co.c @@ -1,4 +1,4 @@ -/* $OpenBSD: co.c,v 1.71 2006/04/09 19:22:23 niallo Exp $ */ +/* $OpenBSD: co.c,v 1.72 2006/04/10 08:08:00 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -173,8 +173,7 @@ checkout_main(int argc, char **argv) if (flags & PRESERVETIME) rcs_mtime = rcs_get_mtime(file->rf_path); - if (kflag != RCS_KWEXP_ERR) - rcs_kwexp_set(file, kflag); + rcs_kwexp_set(file, kflag); if (rev == RCS_HEAD_REV) frev = file->rf_head; |