From: Fabian Keil <fk@fabiankeil.de>
Date: Tue, 19 May 2009 17:39:59 +0000 (+0000)
Subject: Fix clang warning: Although the value stored to 'next'
X-Git-Tag: v_3_0_13~88
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/man-page/faq/static/gitweb.js?a=commitdiff_plain;h=e3c7acd6fdb41505246948ee9cb09f9b4915e027;p=privoxy.git

Fix clang warning: Although the value stored to 'next'
is used in the enclosing expression, the value is never
actually read from 'next'.
---

diff --git a/urlmatch.c b/urlmatch.c
index 19388b1b..d888e37d 100644
--- a/urlmatch.c
+++ b/urlmatch.c
@@ -1,4 +1,4 @@
-const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.50 2009/04/17 11:38:28 fabiankeil Exp $";
+const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.51 2009/05/16 13:27:20 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/urlmatch.c,v $
@@ -1222,7 +1222,7 @@ int match_portlist(const char *portlist, int port)
 {
    char *min, *max, *next, *portlist_copy;
 
-   min = next = portlist_copy = strdup(portlist);
+   min = portlist_copy = strdup(portlist);
 
    /*
     * Zero-terminate first item and remember offset for next