Opened 9 years ago
Closed 9 years ago
#12771 closed bug (fixed)
[Patch] userlandfs/server/beos/fs_cache.c: gcc6 build fix
Reported by: | mt | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | File Systems/UserlandFS | Version: | R1/Development |
Keywords: | file_systems/userlandfs/server/beos | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Reindent source code, to fix gcc6 '-Werror=misleading-indentation' warning.
userlandfs/server/beos/fs_cache.o /home/haiku/haiku/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/fs_cache.c: In function 'flush_cache_ent': /home/haiku/haiku/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/fs_cache.c:891:5: error: this 'else' clause does not guard... [-Werror=misleading-indentation] else ^~~~ /home/haiku/haiku/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/fs_cache.c:894:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' if (chatty_io > 2) printf("flush: %7Ld\n", ce->block_num); ^~ cc1: all warnings being treated as errors
Attachments (1)
Change History (4)
by , 9 years ago
Attachment: | 0023-fs_cache.c-gcc6-build-fix.patch added |
---|
comment:1 by , 9 years ago
patch: | 0 → 1 |
---|
comment:2 by , 9 years ago
Note:
See TracTickets
for help on using tickets.
+1