diff options
author | Levi Zim <rsworktech@outlook.com> | 2025-08-19 11:22:37 +0800 |
---|---|---|
committer | Levi Zim <rsworktech@outlook.com> | 2025-08-19 11:29:18 +0800 |
commit | 163518ffab8818d3e2e42d465026eb64721f68c9 (patch) | |
tree | 64f157bf01a8672b750f32f6b5403e9fbc37ed3e | |
parent | 0243cf89b137b093b02a5c61a76e28cec1d69ae9 (diff) | |
download | ffmpeg-163518ffab8818d3e2e42d465026eb64721f68c9.tar.gz |
avutil/riscv: add fallthrough comment to switch
This fixes the following warning:
libavutil/riscv/cpu.c:85:9: warning: label at end of compound statement is a C23 extension [-Wc23-extensions]
Signed-off-by: Levi Zim <rsworktech@outlook.com>
-rw-r--r-- | libavutil/riscv/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/riscv/cpu.c b/libavutil/riscv/cpu.c index 163e4fc14a..5d7673ad11 100644 --- a/libavutil/riscv/cpu.c +++ b/libavutil/riscv/cpu.c @@ -82,6 +82,7 @@ int ff_get_cpu_flags_riscv(void) ret |= AV_CPU_FLAG_RV_MISALIGNED; break; default: + ; /* do nothing */ } } #elif HAVE_GETAUXVAL || HAVE_ELF_AUX_INFO |