Page MenuHomePhabricator

Fix compiler warnings emitted when compiling under stock OpenBSD 6.3
ClosedPublic

Authored by fpelliccioni on Mon, Sep 23, 21:14.

Details

Summary

Fix compiler warnings emitted when compiling under stock OpenBSD 6.3 (OpenBSD clang version 5.0.1, based on LLVM 5.0.1):

Backport of Bitcoin Core PR13294
https://github.com/bitcoin/bitcoin/pull/13294

Test Plan

make check-all is OK on my platform (Linux 5.2.15-200.fc30.x86_64 x86_64)

I don't have an OpenBSD 6.3 to test it.
It doesn't seem that the changes are going to have problems on it.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.