summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-07-31 01:14:22 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-07-31 01:14:22 +0000
commit8274c61ff3922a5b0d6f48dfed88ae1dd82570f8 (patch)
tree68a87cef99af16ce91ae792b29d9e96a34993de4
parent507cb053bc0731f27a48f2dce549c5d38f64cdf7 (diff)
Remove old code
-rw-r--r--usr.bin/cvs/getlog.c19
1 files changed, 5 insertions, 14 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c
index 5e26d817fa1..2dc55ab786a 100644
--- a/usr.bin/cvs/getlog.c
+++ b/usr.bin/cvs/getlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlog.c,v 1.3 2004/07/30 01:49:23 jfb Exp $ */
+/* $OpenBSD: getlog.c,v 1.4 2004/07/31 01:14:21 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -95,20 +95,11 @@ cvs_getlog(int argc, char **argv)
argc -= optind;
argv += optind;
- for (i = 0; i < argc; i++) {
- rfp = NULL;
-#if 0
- if (cvs_root->cr_method == CVS_METHOD_LOCCAL) {
- snprintf(rcspath, sizeof(rcspath), "%s/%s/%s%s",
- cvs_root->cr_dir, argv[i], RCS_FILE_EXT);
-
- rfp = rcs_open(rcspath, RCS_MODE_READ);
- if (rfp == NULL)
- continue;
+ if (argc == 0) {
+ }
+ else {
+ for (i = 0; i < argc; i++) {
}
-#endif
-
- cvs_getlog_print(argv[i], rfp, 0);
}
return (0);