[3.0] 697832e remove unused variable

Tollef Fog Heen tfheen at varnish-cache.org
Thu Sep 22 14:03:45 CEST 2011


commit 697832e965ebcabbd8aeb03fa79addd033de5d6c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Sep 20 14:25:40 2011 +0000

    remove unused variable

diff --git a/lib/libvarnishcompat/srandomdev.c b/lib/libvarnishcompat/srandomdev.c
index d0332c9..83b22c4 100644
--- a/lib/libvarnishcompat/srandomdev.c
+++ b/lib/libvarnishcompat/srandomdev.c
@@ -61,7 +61,6 @@ srandomdev(void)
 {
 	struct timeval tv;
 	unsigned long seed;
-	int fd;
 
 	if (trydev("/dev/urandom", &seed)) {
 		if (trydev("/dev/random", &seed)) {



More information about the varnish-commit mailing list