projects
/
platform
/
upstream
/
lz4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16a4337
)
fixed minor initialization warning
author
Yann Collet
<cyan@fb.com>
Mon, 30 Oct 2017 23:10:25 +0000
(16:10 -0700)
committer
Yann Collet
<cyan@fb.com>
Mon, 30 Oct 2017 23:10:25 +0000
(16:10 -0700)
lib/lz4opt.h
patch
|
blob
|
history
diff --git
a/lib/lz4opt.h
b/lib/lz4opt.h
index
bd956ee
..
2daf17e
100644
(file)
--- a/
lib/lz4opt.h
+++ b/
lib/lz4opt.h
@@
-211,7
+211,7
@@
LZ4_FORCE_INLINE int LZ4HC_HashChain_GetAllMatches (
const BYTE* const ip, const BYTE* const iHighLimit,
size_t best_mlen, LZ4HC_match_t* matches, const int fullUpdate)
{
- const BYTE* matchPtr;
+ const BYTE* matchPtr
= NULL
;
int matchLength = LZ4HC_FindLongerMatch(ctx, ip, iHighLimit, (int)best_mlen, &matchPtr, ctx->searchNum);
if ((size_t)matchLength <= best_mlen) return 0;
assert(matches != NULL);