]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
ccpcheck: duplicateExpression - 'vary_by_language' is tested twice
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 15 Oct 2012 19:49:23 +0000 (19:49 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 15 Oct 2012 19:49:23 +0000 (19:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1398478 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_negotiation.c

index 5f3232b8a557c2a64c82fa855ce58b33a4c817fc..4a3a45730eeb70be23bb2ae067a44fd47af45c34 100644 (file)
@@ -2606,7 +2606,7 @@ static void set_neg_headers(request_rec *r, negotiation_state *neg,
     }
 
     if (neg->is_transparent || vary_by_type || vary_by_language ||
-        vary_by_language || vary_by_charset || vary_by_encoding) {
+        vary_by_charset || vary_by_encoding) {
 
         apr_table_mergen(hdrs, "Vary", 2 + apr_pstrcat(r->pool,
             neg->is_transparent ? ", negotiate"       : "",