[FFmpeg-cvslog] [ffmpeg] branch master updated. 163518ffab avutil/riscv: add fallthrough comment to switch

ffmpeg-git at ffmpeg.org ffmpeg-git at ffmpeg.org
Tue Aug 19 15:18:04 EEST 2025


The branch, master has been updated
       via  163518ffab8818d3e2e42d465026eb64721f68c9 (commit)
      from  0243cf89b137b093b02a5c61a76e28cec1d69ae9 (commit)


- Log -----------------------------------------------------------------
commit 163518ffab8818d3e2e42d465026eb64721f68c9
Author:     Levi Zim <rsworktech at outlook.com>
AuthorDate: Tue Aug 19 11:22:37 2025 +0800
Commit:     Levi Zim <rsworktech at outlook.com>
CommitDate: Tue Aug 19 11:29:18 2025 +0800

    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 at outlook.com>

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

-----------------------------------------------------------------------

Summary of changes:
 libavutil/riscv/cpu.c | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 



More information about the ffmpeg-cvslog mailing list