Commit aacac613 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Assert dep_stream is non-null to shut up scan-build

parent ba9e912c
...@@ -660,6 +660,8 @@ int nghttp2_session_reprioritize_stream( ...@@ -660,6 +660,8 @@ int nghttp2_session_reprioritize_stream(
} }
} }
assert(dep_stream);
if (dep_stream == stream->dep_prev && !pri_spec->exclusive) { if (dep_stream == stream->dep_prev && !pri_spec->exclusive) {
/* This is minor optimization when just weight is changed. /* This is minor optimization when just weight is changed.
Currently, we don't reschedule stream in this case, since we Currently, we don't reschedule stream in this case, since we
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment