>>>>> On Tue, 15 Dec 2020 10:00:03 +0100, Eric Bollengier via Bacula-devel said:
> DKIM-Filter: OpenDKIM Filter v2.10.3 mail.baculasystems.com 13470B20862
> 
> Hello,
> 
> We are pleased to announce the release of Bacula version 11.0.0 (beta).
> This is a major release.

There are two warnings from compiling the src/stored directory on FreeBSD 11.4
(with clang 10.0.0) that might be bugs:

LT Compiling cloud_dev.c
cloud_dev.c:1818:17: warning: address of array 'tpkt->m_hash64' will always 
evaluate to 'true'
      [-Wpointer-bool-conversion]
      if (tpkt->m_hash64) {
      ~~  ~~~~~~^~~~~~~~
1 warning generated.

Compiling dircmd.c
dircmd.c:841:20: warning: address of array 'p->hash64' will always evaluate to 
'true' [-Wpointer-bool-conversion]
            if (p->hash64) {
            ~~  ~~~^~~~~~
1 warning generated.

Possibly they should be looking at the first element in the array?

In addition, I think the else clause on line 884 of dircmd.c is also broken
because the format includes hash=%s but the argument is missing.

__Martin


_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to