From 8a6b9d08628f06f55463cc1b3bfe359b12e66375 Mon Sep 17 00:00:00 2001 From: Thomas Hebb Date: Sat, 6 Jun 2020 01:39:09 -0400 Subject: [PATCH] cloudflare: Remove unused $hostname variable This is no longer used since commit 6c951a039543 ("Add files via upload"), which updated to the Cloudflare API v4. The new API does not require any preprocessing of the domain name. --- ddclient.in | 1 - 1 file changed, 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index 276186c..94f49a3 100755 --- a/ddclient.in +++ b/ddclient.in @@ -5821,7 +5821,6 @@ sub nic_cloudflare_update { # FQDNs for my $domain (@hosts) { - (my $hostname = $domain) =~ s/\.$config{$key}{zone}$//; my $ipv4 = delete $config{$domain}{'wantipv4'}; my $ipv6 = delete $config{$domain}{'wantipv6'};