From 374fa82d005a9c1964b5bd8d6259491095ad1a4f Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 9 Sep 2009 23:14:22 +0200 Subject: [PATCH] Keep valgrind happy --- bacula/src/stored/vtape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/stored/vtape.c b/bacula/src/stored/vtape.c index bf55cc6617..b8b9b4a50d 100644 --- a/bacula/src/stored/vtape.c +++ b/bacula/src/stored/vtape.c @@ -611,7 +611,7 @@ int vtape::fsf() bool vtape::read_fm(VT_READ_FM_MODE read_all) { int ret; - uint32_t c; + uint32_t c = 0; if (read_all == VT_READ_EOF) { ::read(fd, &c, sizeof(c)); if (c != 0) { -- 2.39.5