From d1285255ebe97ef89e7e0242f4431ea8dbfc4ddb Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 26 Nov 2014 18:18:00 +0100 Subject: [PATCH] Fix last warning found by Clang Analyzer nghttp2_session.c:636:3: warning: Branch condition evaluates to a garbage value --- lib/nghttp2_session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index b0dd9fcf..dce0953b 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -571,7 +571,7 @@ int nghttp2_session_reprioritize_stream const nghttp2_priority_spec *pri_spec_in) { int rv; - nghttp2_stream *dep_stream; + nghttp2_stream *dep_stream = NULL; nghttp2_stream *root_stream; nghttp2_priority_spec pri_spec_default; const nghttp2_priority_spec *pri_spec = pri_spec_in;