Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Dependencies
Cpp
mirrage
Commits
cb3836db
Commit
cb3836db
authored
Oct 01, 2017
by
Florian Oetke
Browse files
fixed errors reported by scan-build
parent
9d7d783c
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
dependencies/moodycamel/include/moodycamel/concurrentqueue.hpp
View file @
cb3836db
This diff is collapsed.
Click to expand it.
dependencies/physfs/archivers/zip.c
View file @
cb3836db
...
...
@@ -1028,7 +1028,7 @@ static int zip_parse_end_of_central_dir(void *in, ZIPinfo *info,
{
PHYSFS_uint32
ui32
;
PHYSFS_uint16
ui16
;
PHYSFS_sint64 len;
PHYSFS_sint64
len
=
0
;
PHYSFS_sint64
pos
;
/* find the end-of-central-dir record, and seek to it. */
...
...
dependencies/physfs/lzma/C/Archive/7z/7zIn.c
View file @
cb3836db
...
...
@@ -1123,7 +1123,7 @@ SZ_RESULT SzReadAndDecodePackedStreams2(
{
UInt32
numUnPackStreams
=
0
;
CFileSize
dataStartPos
;
CFileSize
dataStartPos
=
0
;
CFolder
*
folder
;
#ifndef _LZMA_IN_CB
CFileSize
packSize
=
0
;
...
...
dependencies/physfs/platform/unix.c
View file @
cb3836db
...
...
@@ -171,17 +171,19 @@ static char *findBinaryInPath(const char *bin, char *envr)
exe
=
x
;
}
/* if */
/* build full binary path... */
strcpy
(
exe
,
start
);
if
((
exe
[
0
]
==
'\0'
)
||
(
exe
[
strlen
(
exe
)
-
1
]
!=
'/'
))
strcat
(
exe
,
"/"
);
strcat
(
exe
,
bin
);
if
(
access
(
exe
,
X_OK
)
==
0
)
/* Exists as executable? We're done. */
{
strcpy
(
exe
,
start
);
/* i'm lazy. piss off. */
return
(
exe
);
}
/* if */
if
(
exe
)
{
/* build full binary path... */
strcpy
(
exe
,
start
);
if
((
exe
[
0
]
==
'\0'
)
||
(
exe
[
strlen
(
exe
)
-
1
]
!=
'/'
))
strcat
(
exe
,
"/"
);
strcat
(
exe
,
bin
);
if
(
access
(
exe
,
X_OK
)
==
0
)
/* Exists as executable? We're done. */
{
strcpy
(
exe
,
start
);
/* i'm lazy. piss off. */
return
(
exe
);
}
/* if */
}
start
=
ptr
+
1
;
/* start points to beginning of next element. */
}
while
(
ptr
!=
NULL
);
...
...
dependencies/physfs/zlib123/deflate.c
View file @
cb3836db
...
...
@@ -350,6 +350,7 @@ int ZEXPORT deflateSetDictionary (strm, dictionary, dictLength)
INSERT_STRING
(
s
,
n
,
hash_head
);
}
if
(
hash_head
)
hash_head
=
0
;
/* to make compiler happy */
(
void
)
hash_head
;
return
Z_OK
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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