From 40291fd7a62d07f673f66e62a2c648019df93b23 Mon Sep 17 00:00:00 2001 From: jasper Date: Thu, 11 Jan 2007 18:06:49 +0000 Subject: silence some warnings. ok joris@ --- usr.bin/cvs/commit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.bin/cvs/commit.c') 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 * Copyright (c) 2006 Xavier Santolaria @@ -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); -- cgit v1.2.3-59-g8ed1b