Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
579aa5b4
Commit
579aa5b4
authored
Dec 23, 2019
by
Simon Giesecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: non-loop-variables initialized via loop initializer
Solution: move initialization to declaration
parent
d4cc5923
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ws_engine.cpp
src/ws_engine.cpp
+4
-4
No files found.
src/ws_engine.cpp
View file @
579aa5b4
...
...
@@ -884,11 +884,11 @@ encode_base64 (const unsigned char *in_, int in_len_, char *out_, int out_len_)
static
const
unsigned
char
base64enc_tab
[
65
]
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
;
int
i
i
,
io
;
uint32_t
v
;
int
rem
;
int
i
o
=
0
;
uint32_t
v
=
0
;
int
rem
=
0
;
for
(
i
o
=
0
,
ii
=
0
,
v
=
0
,
rem
=
0
;
ii
<
in_len_
;
ii
++
)
{
for
(
i
nt
ii
=
0
;
ii
<
in_len_
;
ii
++
)
{
unsigned
char
ch
;
ch
=
in_
[
ii
];
v
=
(
v
<<
8
)
|
ch
;
...
...
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