radeon / r200: Fix 'empty body' warning
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 18:56:13 +0000 (10:56 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 23 Jan 2014 16:50:58 +0000 (08:50 -0800)
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 <ian.d.romanick@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Marek Olšák <marek.olsak@amd.com>
src/mesa/drivers/dri/radeon/radeon_common.c

index d8839d1d4912de9520c629942c12c1697d4106f7..7800e50a9d761217fdac0c1233cd4046c6e4f2c1 100644 (file)
@@ -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) {