[3.0] 9901ee2 Compile fix for FreeBSD; unused variable

Tollef Fog Heen tfheen at varnish-cache.org
Thu Jun 13 11:22:18 CEST 2013


commit 9901ee24a01076c06850f6207ab770fa48b75131
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Thu Jun 13 11:22:12 2013 +0200

    Compile fix for FreeBSD; unused variable

diff --git a/bin/varnishd/cache_waiter_kqueue.c b/bin/varnishd/cache_waiter_kqueue.c
index 48fad20..36bbf55 100644
--- a/bin/varnishd/cache_waiter_kqueue.c
+++ b/bin/varnishd/cache_waiter_kqueue.c
@@ -205,8 +205,6 @@ vca_kqueue_main(void *arg)
 static void
 vca_kqueue_init(void)
 {
-	int i;
-
 	AZ(vnonblocking(vca_pipes[0]));
 	AZ(vnonblocking(vca_pipes[1]));
 
diff --git a/configure.ac b/configure.ac
index 750c7f8..72d144f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ(2.59)
 AC_COPYRIGHT([Copyright (c) 2006 Verdens Gang AS
 Copyright (c) 2006-2011 Varnish Software AS])
 AC_REVISION([$Id$])
-AC_INIT([Varnish], [3.0.4-rc1], [varnish-dev at varnish-cache.org])
+AC_INIT([Varnish], [3.0.4], [varnish-dev at varnish-cache.org])
 AC_CONFIG_SRCDIR(include/varnishapi.h)
 AM_CONFIG_HEADER(config.h)
 
diff --git a/redhat/varnish.spec b/redhat/varnish.spec
index 2771688..7f53b98 100644
--- a/redhat/varnish.spec
+++ b/redhat/varnish.spec
@@ -1,8 +1,7 @@
-%define v_rc rc1
 Summary: High-performance HTTP accelerator
 Name: varnish
 Version: 3.0.4
-Release: 0.rc1%{?dist}
+Release: 1%{?dist}
 License: BSD
 Group: System Environment/Daemons
 URL: http://www.varnish-cache.org/



More information about the varnish-commit mailing list