summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/varnish/files/varnish-4.0.1-fix-warning.patch')
-rw-r--r--www-servers/varnish/files/varnish-4.0.1-fix-warning.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/www-servers/varnish/files/varnish-4.0.1-fix-warning.patch b/www-servers/varnish/files/varnish-4.0.1-fix-warning.patch
new file mode 100644
index 000000000000..ae327292fb7c
--- /dev/null
+++ b/www-servers/varnish/files/varnish-4.0.1-fix-warning.patch
@@ -0,0 +1,12 @@
+diff -Naur /root/varnish-4.0.1/lib/libvcc/vcc_expr.c varnish-4.0.1/lib/libvcc/vcc_expr.c
+--- /root/varnish-4.0.1/lib/libvcc/vcc_expr.c 2014-06-25 07:06:42.550508615 -0400
++++ varnish-4.0.1/lib/libvcc/vcc_expr.c 2014-06-23 09:43:06.000000000 -0400
+@@ -670,7 +670,7 @@
+ struct expr *e1, *e2;
+ const char *ip;
+ const struct symbol *sym;
+- double d;
++ double d = 0.0;
+
+ *e = NULL;
+ if (tl->t->tok == '(') {