diff --git a/workflow/openwhisk_macro/src/lib.rs b/workflow/openwhisk_macro/src/lib.rs index 16706973..65dca090 100644 --- a/workflow/openwhisk_macro/src/lib.rs +++ b/workflow/openwhisk_macro/src/lib.rs @@ -47,7 +47,6 @@ fn impl_openwhisk_client(ast: DeriveInput) -> TokenStream { let auth_token = property_map["AuthKey"].clone(); let api_host = property_map["ApiHost"].clone(); - let insecure = insecure; let namespace = property_map["Namespace"].clone(); let impl_whisk_client = quote! { diff --git a/workflow/polkadot_macro/src/lib.rs b/workflow/polkadot_macro/src/lib.rs index c5fa06c5..26711365 100644 --- a/workflow/polkadot_macro/src/lib.rs +++ b/workflow/polkadot_macro/src/lib.rs @@ -87,8 +87,7 @@ fn impl_polkadot(ast: DeriveInput) -> TokenStream { operation_methods = impl_batched_payout(polka); } else if operation.to_lowercase() == "transfer" { operation_methods = impl_transfer(polka); - } else { - } + } let structs = impl_structs(); let imports = impl_imports();