tvbackup: fix uninitialized variable use in -i code - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit b88619038f124ab421c7f5bcc9bad068f6cdc9e4 (DIR) parent 34b2f0bc1d3859ca7b52d9c71fce0475e6e84825 (HTM) Author: Russ Cox <rsc@swtch.com> Date: Tue, 4 Dec 2007 09:03:08 -0500 vbackup: fix uninitialized variable use in -i code Diffstat: M src/cmd/vbackup/vbackup.c | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- (DIR) diff --git a/src/cmd/vbackup/vbackup.c b/src/cmd/vbackup/vbackup.c t@@ -239,6 +239,7 @@ threadmain(int argc, char **argv) sysfatal("file system block counts don't match %lld %lld", e.size, fsys->nblock*bsize); } + tmpnam = nil; if(incremental){ if(vtfilegetentry(vfile, &e) < 0) sysfatal("vtfilegetentry: %r");