initialize local vars in decompressBound

dev
shakeelrao 2019-02-28 03:01:21 -08:00
parent 515c506b4c
commit dce9a09772
1 changed files with 3 additions and 3 deletions

View File

@ -528,9 +528,9 @@ unsigned long long ZSTD_decompressBound(const void* src, size_t srcSize)
continue;
}
{ size_t bound;
unsigned long long frameBound;
size_t frameSrcSize;
{ size_t bound = 0;
unsigned long long frameBound = 0;
size_t frameSrcSize = 0;
unsigned long long const ret = ZSTD_getFrameContentSize(src, srcSize);
if (ret == ZSTD_CONTENTSIZE_ERROR) return ret;