Bug #2871
Build Warning (all warnings being treated as errors)
100%
Description
I'm on Archlinux and build off current git version (tvheadend-git 6421+gef5b43a-1) fails...
src/http.c: In function 'http_encoding_valid':
src/http.c:331:17: error: 'saveptr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
while (*tok ' ')
^
cc1: all warnings being treated as errors
Makefile:428: recipe for target '/home/supervisor/arch/tvheadend-git/src/tvheadend/build.linux/src/http.o' failed
make: *** [/home/supervisor/arch/tvheadend-git/src/tvheadend/build.linux/src/http.o] Error 1
> ERROR: A failure occurred in build().
Aborting...
Files
History
Updated by S. Benz over 9 years ago
Added a possible fix here (I can't really test, as my compiler didn't complain in the first place): https://github.com/tvheadend/tvheadend/pull/652
Updated by S. Benz over 9 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|ce2b077ca406582c3183a25b848735095618db92.