From 5b4c12972c338d65b13d98740557eaa63c4a49ec Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 20 Jan 2014 10:56:13 -0800 Subject: radeon / r200: Fix 'empty body' warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit radeon_common.c: In function 'radeon_draw_buffer': radeon_common.c:237:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Signed-off-by: Ian Romanick Reviewed-by: Alex Deucher Cc: Marek Olšák --- src/mesa/drivers/dri/radeon/radeon_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c index d8839d1d491..7800e50a9d7 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common.c +++ b/src/mesa/drivers/dri/radeon/radeon_common.c @@ -233,9 +233,9 @@ void radeon_draw_buffer(struct gl_context *ctx, struct gl_framebuffer *fb) return; } - if (fb->Name) + if (fb->Name) { ;/* do something depthy/stencily TODO */ - + } /* none */ if (fb->Name == 0) { -- cgit v1.2.3