From: Nick Terrell Date: Fri, 21 Jan 2022 06:46:45 +0000 (-0800) Subject: [datagen] Remove extra newline printed X-Git-Tag: v1.5.4^2~253^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f088c430e35d8b97d11aa38c5c78a72931ec7bad;p=thirdparty%2Fzstd.git [datagen] Remove extra newline printed `datagen` was printing a `\n` even when it had no other output. Raise the output level for the final `\n` to the minimum output level used. This minor bug was caught by the new testing framework. --- diff --git a/tests/datagencli.c b/tests/datagencli.c index ecc05f95f..7300fdb76 100644 --- a/tests/datagencli.c +++ b/tests/datagencli.c @@ -124,7 +124,7 @@ int main(int argc, const char** argv) DISPLAYLEVEL(3, "Seed = %u \n", (unsigned)seed); RDG_genStdout(size, (double)probaU32/100, litProba, seed); - DISPLAYLEVEL(1, "\n"); + DISPLAYLEVEL(3, "\n"); return 0; }