]> git.bitcoin.ninja Git - rust-lightning/commit
[bindings] Allow unused fns that the bindings can call but don't
authorMatt Corallo <git@bluematt.me>
Mon, 4 Jan 2021 20:25:23 +0000 (15:25 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 2 Feb 2021 22:04:31 +0000 (17:04 -0500)
commitb243c65accd837ccb8419a1fa0ae0ae8fe1ae647
tree5316e52dba64a4483606e0e3cdd47ddde8b0d5eb
parent1479016331a6f03d9aab2aee620c86b71232ba9d
[bindings] Allow unused fns that the bindings can call but don't

We no longer have any public `Option<Signatures>` in our code, and
thus get warnings that the two functions which support it are
unused. Instead of removing support for them (which we may need in
the future), we add `#[allow(unused)]`.
lightning-c-bindings/src/c_types/mod.rs