From: Kern Sibbald Date: Wed, 9 Sep 2009 21:14:22 +0000 (+0200) Subject: Keep valgrind happy X-Git-Tag: Release-5.0.0~316^2~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=43cb4e2bfe5dc347b7e572efb87cce857dc63e65;p=bacula%2Fbacula Keep valgrind happy --- 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) {