[FFmpeg-devel] [PATCH 18/22] avutil/avsscanf: Remove dead code

Michael Niedermayer michael at niedermayer.cc
Fri Jul 12 02:34:12 EEST 2024


Fixes: CID1604498 Structurally dead code

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavutil/avsscanf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavutil/avsscanf.c b/libavutil/avsscanf.c
index 7061e6d9651..94f7710043e 100644
--- a/libavutil/avsscanf.c
+++ b/libavutil/avsscanf.c
@@ -669,7 +669,6 @@ static double fffloatscan(FFFILE *f, int prec, int pok)
             while (i--) shunget(f);
             return NAN;
         }
-        return NAN;
     }
 
     if (i) {
-- 
2.45.2



More information about the ffmpeg-devel mailing list