From: Kern Sibbald Date: Sat, 19 Jan 2019 14:53:18 +0000 (+0100) Subject: Remove unused berrno call + return X-Git-Tag: Release-9.4.2~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74d32978128725526bf07b94db0d20b1c39643a4;p=thirdparty%2Fbacula.git Remove unused berrno call + return --- diff --git a/bacula/src/dird/dird.c b/bacula/src/dird/dird.c index f06be79eb..2b31c2ba9 100644 --- a/bacula/src/dird/dird.c +++ b/bacula/src/dird/dird.c @@ -1459,7 +1459,6 @@ static void cleanup_old_files() char prbuf[500]; const int nmatch = 30; regmatch_t pmatch[nmatch]; - berrno be; /* Exclude spaces and look for .mail, .tmp or .restore.xx.bsr files */ const char *pat1 = "^[^ ]+\\.(restore\\.[^ ]+\\.bsr|mail|tmp)$"; @@ -1489,7 +1488,6 @@ static void cleanup_old_files() Pmsg2(000, "Failed to open working dir %s for cleanup: ERR=%s\n", director->working_directory, be.bstrerror()); goto get_out1; - return; } while (1) {