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