From 4b4e0ca4d172daf13d33dc68d3807a18332124c2 Mon Sep 17 00:00:00 2001 From: bnnm Date: Sat, 9 Apr 2022 14:58:04 +0200 Subject: [PATCH] CLI: message tweak --- cli/vgmstream_cli.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cli/vgmstream_cli.c b/cli/vgmstream_cli.c index fc113bec..63c6c704 100644 --- a/cli/vgmstream_cli.c +++ b/cli/vgmstream_cli.c @@ -635,7 +635,7 @@ fail: } static int convert_subsongs(cli_config* cfg) { - int res, oks, kos; + int res, kos; int subsong; /* restore original values in case of multiple parsed files */ int start_temp = cfg->subsong_index; @@ -651,7 +651,6 @@ static int convert_subsongs(cli_config* cfg) { //;VGM_LOG("CLI: subsongs %i to %i\n", cfg->subsong_index, cfg->subsong_end + 1); /* convert subsong range */ - oks = 0; kos = 0 ; for (subsong = cfg->subsong_index; subsong < cfg->subsong_end + 1; subsong++) { cfg->subsong_index = subsong; @@ -661,7 +660,7 @@ static int convert_subsongs(cli_config* cfg) { } if (kos) { - fprintf(stderr, "failed %i of %i subsongs\n", kos, oks); + fprintf(stderr, "failed %i subsongs\n", kos); } cfg->subsong_index = start_temp;