Project

General

Profile

Actions

Bug #2871

closed

Build Warning (all warnings being treated as errors)

Added by Sebastian K. almost 10 years ago. Updated almost 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2015-05-22
Due date:
% Done:

100%

Estimated time:
Found in version:
tvheadend-git-6421+gef5b43a
Affected Versions:

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

Actions

Also available in: Atom PDF