Drop `empty_val_check_suffix_from_path` for Signature as its unused
authorMatt Corallo <git@bluematt.me>
Thu, 28 Sep 2023 02:29:48 +0000 (02:29 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 4 Oct 2023 20:02:23 +0000 (20:02 +0000)
c-bindings-gen/src/types.rs

index 6a5f3e25eb633945d4e686f89fa0d6926b601ae1..007a05b1fc8a4e4e97389cc6871a250248680f1a 100644 (file)
@@ -1543,7 +1543,6 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> {
        fn empty_val_check_suffix_from_path(&self, full_path: &str) -> Option<&str> {
                match full_path {
                        "secp256k1::PublicKey"|"bitcoin::secp256k1::PublicKey" => Some(".is_null()"),
-                       "bitcoin::secp256k1::ecdsa::Signature" => Some(".is_null()"),
                        _ => None
                }
        }