[master] 791d44d No need for initialization

Guillaume Quintard guillaume at varnish-software.com
Thu Sep 8 12:22:12 CEST 2016


commit 791d44da6501976691cb78de84ecf37c286b7055
Author: Guillaume Quintard <guillaume at varnish-software.com>
Date:   Thu Sep 8 12:06:40 2016 +0200

    No need for initialization

diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c
index e6ae7de..62a1243 100644
--- a/bin/varnishtest/vtc_http2.c
+++ b/bin/varnishtest/vtc_http2.c
@@ -342,7 +342,7 @@ write_frame(struct http *hp, const struct frame *f, const unsigned lock)
 static void
 exclusive_stream_dependency(const struct stream *s)
 {
-	struct stream *target = NULL;
+	struct stream *target;
 	struct http *hp = s->hp;
 
 	if (s->id == 0)



More information about the varnish-commit mailing list