Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-04 00:02:18 +0400
committerMans Rullgard <mans@mansr.com>2011-07-04 00:39:07 +0400
commitadd41decd94b2d3581a3715ba10f27168b8cdb1b (patch)
tree75b99269199b63d99c9cfa92e876cf4682bf44b5 /libavutil/opt.c
parentf75e3da535f297ddbe501ce866e57ccca7645455 (diff)
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 <mans@mansr.com>
Diffstat (limited to 'libavutil/opt.c')
-rw-r--r--libavutil/opt.c1
1 files changed, 0 insertions, 1 deletions
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) {