Re: [PATCH 4/9] btrfs-progs: Fix Wempty-body warning

2018-11-16 Thread Nikolay Borisov
On 16.11.18 г. 9:54 ч., Qu Wenruo wrote: > messages.h:49:24: warning: suggest braces around empty body in an 'if' > statement [-Wempty-body] > PRINT_TRACE_ON_ERROR;\ > > Just extra braces would solve the problem. > > Signed-off-by: Qu Wenruo Reviewed-by: Nikolay Borisov > --- > m

[PATCH 4/9] btrfs-progs: Fix Wempty-body warning

2018-11-15 Thread Qu Wenruo
messages.h:49:24: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] PRINT_TRACE_ON_ERROR;\ Just extra braces would solve the problem. Signed-off-by: Qu Wenruo --- messages.h | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a