diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-31 06:38:50 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-03 19:14:12 +0200 |
commit | 7895d1860f157e8a52a8e23f062fc7518cbed911 (patch) | |
tree | 39527e77eebadf7256b45024210cf172af17ef42 /libavfilter/avfilter.c | |
parent | 8d3fdb42c03084f84101edad9f49cc3e01e1d2da (diff) | |
download | ffmpeg-7895d1860f157e8a52a8e23f062fc7518cbed911.tar.gz |
avfilter/avfilter: Don't use av_uninit
GCC 9-13 do not emit warnings for this at all optimization
levels even when -Wmaybe-uninitialized is not disabled.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 21d6832deb..7f94e71fbc 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -835,14 +835,14 @@ int ff_filter_opt_parse(void *logctx, const AVClass *priv_class, { const AVOption *o = NULL; int ret; - char *av_uninit(parsed_key), *av_uninit(value); - const char *key; int offset= -1; if (!args) return 0; while (*args) { + char *parsed_key, *value; + const char *key; const char *shorthand = NULL; int additional_flags = 0; |