=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/commit.c,v retrieving revision 1.52 retrieving revision 1.53 diff -c -r1.52 -r1.53 *** src/usr.bin/cvs/commit.c 2006/03/16 09:06:19 1.52 --- src/usr.bin/cvs/commit.c 2006/04/01 20:11:25 1.53 *************** *** 1,4 **** ! /* $OpenBSD: commit.c,v 1.52 2006/03/16 09:06:19 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: commit.c,v 1.53 2006/04/01 20:11:25 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 221,230 **** int cvs_commit_remote(CVSFILE *cf, void *arg) { ! char *repo, fpath[MAXPATHLEN]; struct cvsroot *root; - repo = NULL; root = CVS_DIR_ROOT(cf); if (cf->cf_type == DT_DIR) { --- 221,229 ---- int cvs_commit_remote(CVSFILE *cf, void *arg) { ! char fpath[MAXPATHLEN]; struct cvsroot *root; root = CVS_DIR_ROOT(cf); if (cf->cf_type == DT_DIR) { *************** *** 234,242 **** } cvs_file_getpath(cf, fpath, sizeof(fpath)); - - if (cf->cf_parent != NULL) - repo = cf->cf_parent->cf_repo; if ((cf->cf_cvstat == CVS_FST_ADDED) || (cf->cf_cvstat == CVS_FST_MODIFIED) || --- 233,238 ----