From: Kern Sibbald Date: Sat, 2 Apr 2011 17:21:20 +0000 (+0200) Subject: Fix uninitialized stack variable in bextract X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5a1c1e4f7d4fb9569b27b50afd3f1f018ca4d605;p=bacula%2Fbacula Fix uninitialized stack variable in bextract --- diff --git a/bacula/src/stored/bextract.c b/bacula/src/stored/bextract.c index ca65673e6c..286c474c44 100644 --- a/bacula/src/stored/bextract.c +++ b/bacula/src/stored/bextract.c @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2000-2010 Free Software Foundation Europe e.V. + Copyright (C) 2000-2011 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -411,7 +411,7 @@ static bool record_cb(DCR *dcr, DEV_RECORD *rec) #ifdef HAVE_LIBZ if (extract) { uLong compress_len = compress_buf_size; - int stat; + int stat = Z_BUF_ERROR; if (rec->maskedStream == STREAM_SPARSE_GZIP_DATA) { ser_declare;