diff options
author | Ian Romanick <[email protected]> | 2014-01-20 10:56:13 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-01-23 08:50:58 -0800 |
commit | 5b4c12972c338d65b13d98740557eaa63c4a49ec (patch) | |
tree | 8f69f55cdb156811fc5627222f313e5e803db9f4 /src/mesa | |
parent | b790bed21e332cfe0b999dfa9988ae5168557a0c (diff) |
radeon / r200: Fix 'empty body' warning
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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Cc: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common.c | 4 |
1 files 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) { |