From dd0faa29bce4ccd772fe97cbb2fc8ec041f43480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Mangano-Tarumi?= Date: Tue, 30 Oct 2018 18:29:08 -0400 Subject: [PATCH] don't print "no tags" It's undesired, especially if the output is piped somewhere else. It *could* be printed to stderr alternatively, but better not say anything when there is nothing to say. --- opustags.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/opustags.cc b/opustags.cc index 973b1e3..af9af50 100644 --- a/opustags.cc +++ b/opustags.cc @@ -144,8 +144,6 @@ int add_tags(opus_tags *tags, const char **tags_to_add, uint32_t count){ } void print_tags(opus_tags *tags){ - if(tags->count == 0) - puts("no tags"); for(uint32_t i=0; icount; i++){ fwrite(tags->comment[i], 1, tags->lengths[i], stdout); puts("");