diff options
author | Moritz Jodeit <moritz@cvs.openbsd.org> | 2005-12-22 13:19:13 +0000 |
---|---|---|
committer | Moritz Jodeit <moritz@cvs.openbsd.org> | 2005-12-22 13:19:13 +0000 |
commit | f1e3efa6eecfb4087116055861fce6b2880ea80c (patch) | |
tree | bf7f669e634bf4b0099540ce95089311e8f77e3d /usr.bin/cvs | |
parent | 3d9c8b94d9f77a5976ab72ceee15b3ae9e4eb9c9 (diff) |
unitialized variable. ok xsa@
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/logmsg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/logmsg.c b/usr.bin/cvs/logmsg.c index 570ca80c886..c4fdd880d9c 100644 --- a/usr.bin/cvs/logmsg.c +++ b/usr.bin/cvs/logmsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: logmsg.c,v 1.24 2005/12/21 20:04:36 xsa Exp $ */ +/* $OpenBSD: logmsg.c,v 1.25 2005/12/22 13:19:12 moritz Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -168,6 +168,7 @@ cvs_logmsg_get(const char *dir, struct cvs_flist *added, argv[argc++] = cvs_editor; argv[argc++] = path; argv[argc] = NULL; + tlen = 0; if ((fd = mkstemp(path)) == -1) fatal("cvs_logmsg_get: mkstemp: `%s': %s", |