summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/commit.c
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2007-01-11 18:06:50 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2007-01-11 18:06:50 +0000
commit1b484e361542f19a7857ae81bc7dd11be82444e4 (patch)
tree603f0b0cd92c98bd56a750939183452e9ff9ee7d /usr.bin/cvs/commit.c
parent211260efec719d8d4c5d28f6a07d22cc6a993504 (diff)
silence some warnings.
ok joris@
Diffstat (limited to 'usr.bin/cvs/commit.c')
-rw-r--r--usr.bin/cvs/commit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c
index 1dfed2a7222..7b1db61dadf 100644
--- a/usr.bin/cvs/commit.c
+++ b/usr.bin/cvs/commit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: commit.c,v 1.89 2007/01/11 02:35:55 joris Exp $ */
+/* $OpenBSD: commit.c,v 1.90 2007/01/11 18:06:49 jasper Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -51,7 +51,6 @@ int
cvs_commit(int argc, char **argv)
{
int ch;
- BUF *bp;
char *arg = ".";
int flags;
struct cvs_recursion cr;
@@ -204,9 +203,10 @@ cvs_commit_local(struct cvs_file *cf)
BUF *b;
int isnew;
int l, openflags, rcsflags;
- char *d, *f, rbuf[24], nbuf[24];
+ char *f, rbuf[24], nbuf[24];
+ char *d = NULL;
CVSENTRIES *entlist;
- char *attic, *repo, *rcsfile, *p;
+ char *attic, *repo, *rcsfile;
cvs_log(LP_TRACE, "cvs_commit_local(%s)", cf->file_path);
cvs_file_classify(cf, NULL, 0);