From: Eric Bollengier Date: Fri, 22 Apr 2022 09:27:02 +0000 (+0200) Subject: Fix small logic issue in msgchan X-Git-Tag: Beta-15.0.0~593 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3562a7b5e40379043797d6dc0474b4c9ee0d6969;p=thirdparty%2Fbacula.git Fix small logic issue in msgchan --- diff --git a/bacula/src/dird/msgchan.c b/bacula/src/dird/msgchan.c index cd6084fe7..75b818d7b 100644 --- a/bacula/src/dird/msgchan.c +++ b/bacula/src/dird/msgchan.c @@ -93,7 +93,7 @@ bool connect_to_storage_daemon(JCR *jcr, int retry_interval, int max_retry_time, int verbose) { BSOCK *sd = jcr->store_bsock; - STORE *store; + STORE *store = NULL ; utime_t heart_beat; STORE *wstore = jcr->store_mngr->get_wstore(); POOL_MEM buf;