#12759: [Patch] poorman/libhttpd/libhttpd.c: fix gcc6 build
--------------------------+------------------------------
Reporter: mt | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications | Version: R1/Development
Keywords: apps/poorman | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
--------------------------+------------------------------
Reindent source code, to fix gcc6 '-Werror=misleading-indentation'
warnings.
{{{
Cc /home/haiku/haiku/haiku/generated-
gcc6/objects/haiku/x86/release/apps/poorman/libhttpd.o
/home/haiku/haiku/haiku/src/apps/poorman/libhttpd/libhttpd.c: In function
'expand_symlinks':
/home/haiku/haiku/haiku/src/apps/poorman/libhttpd/libhttpd.c:1660:5:
error: this 'if' clause does not guard... [-Werror=misleading-indentation]
if ( checked[0] == '\0' )
^~
/home/haiku/haiku/haiku/src/apps/poorman/libhttpd/libhttpd.c:1662:2: note:
...this statement, but the latter is misleadingly indented as if it is
guarded by the 'if'
*freethis = rest;
^
cc1: all warnings being treated as errors
}}}
--
Ticket URL: <https://dev.haiku-os.org/ticket/12759>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.