]> git.sur5r.net Git - bacula/bacula/commitdiff
Keep valgrind happy
authorKern Sibbald <kern@sibbald.com>
Wed, 9 Sep 2009 21:14:22 +0000 (23:14 +0200)
committerKern Sibbald <kern@sibbald.com>
Wed, 9 Sep 2009 21:14:22 +0000 (23:14 +0200)
bacula/src/stored/vtape.c

index bf55cc6617871cbbbabdab95b0a1f27617fdcb39..b8b9b4a50d4edb3377f92d75e932023afde1e54f 100644 (file)
@@ -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) {