mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
fixing some warning
This commit is contained in:
@ -818,17 +818,13 @@ int main(int argCount, const char* argv[])
|
||||
|
||||
filenameTable[filenameIdx] = NULL; // marking end of table
|
||||
|
||||
curTable = (FileNamesTable*) malloc(sizeof(FileNamesTable));
|
||||
curTable = UTIL_createFileNamesTable(filenameTable, tableBuf, filenameTableSize);
|
||||
|
||||
if(!curTable) {
|
||||
UTIL_freeFileNamesTable(extendedTable);
|
||||
CLEAN_RETURN(badusage(programName));
|
||||
}
|
||||
|
||||
curTable->fileNames = filenameTable;
|
||||
curTable->tableSize = filenameTableSize;
|
||||
curTable->buf = tableBuf;
|
||||
|
||||
concatenatedTables = UTIL_concatenateTwoTables(curTable, extendedTable);
|
||||
if(!concatenatedTables) {
|
||||
UTIL_freeFileNamesTable(curTable);
|
||||
|
Reference in New Issue
Block a user