From: Yann Collet Date: Mon, 1 Aug 2016 12:26:49 +0000 (+0200) Subject: minor style change X-Git-Tag: v0.8.1^2~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=415251c63ba677ce949a708ebeb8c54260915d18;p=thirdparty%2Fzstd.git minor style change --- diff --git a/programs/util.h b/programs/util.h index 72a40ca8f..72c5275c2 100644 --- a/programs/util.h +++ b/programs/util.h @@ -365,13 +365,10 @@ UTIL_STATIC const char** UTIL_createFileList(const char **inputNames, unsigned i pos += len + 1; nbFiles++; } - } - else - { + } else { nbFiles += UTIL_prepareFileList(inputNames[i], &buf, &pos, &bufend); if (buf == NULL) return NULL; - } - } + } } if (nbFiles == 0) { free(buf); return NULL; } diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 1e5536134..f4fbba53f 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -441,8 +441,8 @@ int main(int argCount, const char** argv) if (recursive) { fileNamesTable = UTIL_createFileList(filenameTable, filenameIdx, &fileNamesBuf, &fileNamesNb); if (fileNamesTable) { - unsigned i; - for (i=0; i