Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Dependencies
Cpp
mirrage
Commits
2a9a2e1e
Commit
2a9a2e1e
authored
Oct 09, 2017
by
Florian Oetke
Browse files
fixed problems with scan-build and enet
parent
6b800ce1
Changes
2
Hide whitespace changes
Inline
Side-by-side
dependencies/enet/compress.c
View file @
2a9a2e1e
...
...
@@ -318,6 +318,7 @@ enet_range_coder_compress (void * context, const ENetBuffer * inBuffers, size_t
ENET_CONTEXT_ENCODE
(
root
,
symbol
,
value
,
under
,
count
,
ENET_CONTEXT_SYMBOL_DELTA
,
ENET_CONTEXT_SYMBOL_MINIMUM
);
*
parent
=
symbol
-
rangeCoder
->
symbols
;
parent
=
&
symbol
->
parent
;
(
void
)
parent
;
total
=
root
->
total
;
#ifdef ENET_CONTEXT_EXCLUSION
if
(
childContext
->
total
>
ENET_SUBCONTEXT_SYMBOL_DELTA
+
ENET_SUBCONTEXT_ESCAPE_DELTA
)
...
...
dependencies/enet/unix.c
View file @
2a9a2e1e
...
...
@@ -55,8 +55,10 @@
#endif
#ifndef HAS_SOCKLEN_T
#ifndef __clang_analyzer__
typedef
int
socklen_t
;
#endif
#endif
#ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL 0
...
...
Write
Preview
Supports
Markdown
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