From 05094c1749f15b1274f554df687b354116f0acc3 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Thu, 26 Jun 2025 23:30:02 +0200 Subject: [PATCH] fftools/textformat: remove unreachable code in tf_mermaid Integer writing is impossible here as the first branch was dead code, so remove it completely. Fix CID 1646948 Reviewed-by: softworkz --- fftools/textformat/tf_mermaid.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fftools/textformat/tf_mermaid.c b/fftools/textformat/tf_mermaid.c index 3d864c2e3e..6af58d58c2 100644 --- a/fftools/textformat/tf_mermaid.c +++ b/fftools/textformat/tf_mermaid.c @@ -616,10 +616,7 @@ static void mermaid_print_value(AVTextFormatContext *tfc, const char *key, MM_INDENT(); - if (is_int) - writer_printf(tfc, " %s %"PRId64" %s\n", key, num, col_type); - else - writer_printf(tfc, " %s %s %s\n", key, str, col_type); + writer_printf(tfc, " %s %s %s\n", key, str, col_type); } break; }