[master] f98e2b8 remove unused variable

Poul-Henning Kamp phk at varnish-cache.org
Tue Sep 20 16:25:48 CEST 2011


commit f98e2b83dd9683d2081a0ad6d8f219e98e8023ee
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