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 <softworkz@hotmail.com>
This commit is contained in:
Marvin Scholz 2025-06-26 23:30:02 +02:00
parent bf5f3f1f2e
commit 05094c1749

View file

@ -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;
}