Explorar o código

removed unused variable

peter %!s(int64=3) %!d(string=hai) anos
pai
achega
a5f943e227
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      dnsapi/dns_curanet.sh

+ 0 - 2
dnsapi/dns_curanet.sh

@@ -114,7 +114,6 @@ gettoken() {
 _get_root() {
   domain=$1
   i=1
-  p=1
 
   while true; do
     h=$(printf "%s" "$domain" | cut -d . -f $i-100)
@@ -134,7 +133,6 @@ _get_root() {
       return 0
     fi
     
-    p=$i
     i=$(_math "$i" + 1)
   done
   return 1