From add41decd94b2d3581a3715ba10f27168b8cdb1b Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sun, 3 Jul 2011 21:02:18 +0100 Subject: Remove return statements following infinite loops without break These statements cannot be reached and are thus not needed. This removes a number of compiler warnings. Signed-off-by: Mans Rullgard --- libavutil/opt.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavutil/opt.c') diff --git a/libavutil/opt.c b/libavutil/opt.c index f65f31fcda..acb745cf3d 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -196,7 +196,6 @@ int av_set_string3(void *obj, const char *name, const char *val, int alloc, cons return 0; notfirst=1; } - return AVERROR(EINVAL); } if (alloc) { -- cgit v1.2.3