Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
e00b8f1f
Commit
e00b8f1f
authored
Apr 30, 2014
by
Alexis La Goutte
Committed by
Tatsuhiro Tsujikawa
Apr 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang Analyzer
parent
fe6b5412
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
lib/nghttp2_hd.c
lib/nghttp2_hd.c
+4
-6
No files found.
lib/nghttp2_hd.c
View file @
e00b8f1f
...
...
@@ -28,9 +28,9 @@
#include <assert.h>
#include <stdio.h>
#include "nghttp2_frame.h"
//
#include "nghttp2_frame.h"
#include "nghttp2_helper.h"
#include "nghttp2_int.h"
//
#include "nghttp2_int.h"
/* Make scalar initialization form of nghttp2_nv */
#define MAKE_STATIC_ENT(I, N, V, NH, VH) \
...
...
@@ -655,7 +655,7 @@ static int emit_string(nghttp2_bufs *bufs,
bufp
=
sb
;
*
bufp
=
huffman
?
1
<<
7
:
0
;
rv
=
encode_length
(
bufp
,
enclen
,
7
);
encode_length
(
bufp
,
enclen
,
7
);
rv
=
nghttp2_bufs_add
(
bufs
,
sb
,
blocklen
);
if
(
rv
!=
0
)
{
...
...
@@ -727,7 +727,7 @@ static int emit_indname_block(nghttp2_bufs *bufs, size_t index,
*
bufp
=
pack_first_byte
(
inc_indexing
,
no_index
);
bufp
+=
encode_length
(
bufp
,
index
+
1
,
prefixlen
);
encode_length
(
bufp
,
index
+
1
,
prefixlen
);
rv
=
nghttp2_bufs_add
(
bufs
,
sb
,
blocklen
);
if
(
rv
!=
0
)
{
...
...
@@ -1724,8 +1724,6 @@ ssize_t nghttp2_hd_inflate_hd(nghttp2_hd_inflater *inflater,
goto
almost_ok
;
}
rv
=
0
;
if
(
inflater
->
huffman_encoded
)
{
nghttp2_hd_huff_decode_context_init
(
&
inflater
->
huff_decode_ctx
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment