]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix a compiler warning if --disable-ident is used
authorhno <>
Mon, 30 Sep 2002 01:01:31 +0000 (01:01 +0000)
committerhno <>
Mon, 30 Sep 2002 01:01:31 +0000 (01:01 +0000)
src/external_acl.cc

index 2af23e6dcf43cf5644870368846498b5bc8fd775..5d9ce336ad73f1554cf7b9db4d98e9ed2444d0e6 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: external_acl.cc,v 1.13 2002/09/07 14:55:24 hno Exp $
+ * $Id: external_acl.cc,v 1.14 2002/09/29 19:01:31 hno Exp $
  *
  * DEBUG: section 82    External ACL
  * AUTHOR: Henrik Nordstrom, MARA Systems AB
@@ -501,7 +501,7 @@ makeExternalAclKey(aclCheck_t * ch, external_acl_data * acl_data)
            str = ch->rfc931;
            if (!str) {
                ch->state[ACL_IDENT] = ACL_LOOKUP_NEEDED;
-               goto error;
+               return NULL;
            }
            break;
 #endif
@@ -559,8 +559,6 @@ makeExternalAclKey(aclCheck_t * ch, external_acl_data * acl_data)
        first = 0;
     }
     return mb.buf;
-  error:
-    return NULL;
 }
 
 static int