Bug #3788
Build error (Werror=misleading-indentation)
100%
Description
src/http.c: In function ‘http_error’:
src/http.c:552:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
if (error != HTTP_STATUS_FOUND && error != HTTP_STATUS_MOVED)
^~
src/http.c:554:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if (error HTTP_STATUS_UNAUTHORIZED)
^~
cc1: all warnings being treated as errors
Makefile:620: recipe for target '/home/supervisor/arch/tvheadend-git/src/tvheadend-git/build.linux/src/http.o' failed
make: *** [/home/supervisor/arch/tvheadend-git/src/tvheadend-git/build.linux/src/http.o] Error 1
> ERROR: A failure occurred in build().
Aborting...
src/htsmsg.c: In function ‘htsmsg_print0’:
src/htsmsg.c:979:7: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~
src/htsmsg.c:979:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~~~~
src/htsmsg.c:985:7: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~
src/htsmsg.c:985:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~~~~
cc1: all warnings being treated as errors
Makefile:620: recipe for target '/home/supervisor/arch/tvheadend-git/src/tvheadend-git/build.linux/src/htsmsg.o' failed
make: *** [/home/supervisor/arch/tvheadend-git/src/tvheadend-git/build.linux/src/htsmsg.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Files
History
Updated by Jaroslav Kysela over 8 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|9ddcb8d390f1d99f0cf0b3f78ca95024f0c99e94.