diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-03 22:31:25 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-03 22:31:25 +0000 |
commit | 652a5bf69dfcc651c0f1e0d1ce30afc2d2253075 (patch) | |
tree | 79c425f00da3e8d089a83571c189c34b56f411e7 | |
parent | f522310b6d118723b1cf16959d04a5954fb76509 (diff) | |
download | ffmpeg-652a5bf69dfcc651c0f1e0d1ce30afc2d2253075.tar.gz |
Warn if a comparison is always true or always false due to the
limited range of the data type.
The only new warning this causes (if i didnt miss one) is:
udp.c:272: warning: comparison of unsigned expression < 0 is always false
which is a real bug
Originally committed as revision 11839 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1786,6 +1786,7 @@ check_cflags -Wredundant-decls check_cflags -Wno-pointer-sign check_cflags -Wcast-qual check_cflags -Wwrite-strings +check_cflags -Wtype-limits enabled extra_warnings && check_cflags -Winline # add some linker flags |