diff options
author | Eric Anholt <[email protected]> | 2013-04-11 10:38:04 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-04-12 16:32:14 -0700 |
commit | dcb1b89c65b963ccc0e37cb7ace1e69c42f8cd26 (patch) | |
tree | 3c49cfb92870e393c9905c91f1fd68f7635ad2c6 /src | |
parent | dea70404eb615bfa148fbd0fec5670fb2657c47b (diff) |
i965: Silence one more compile warning.
We don't want to store this thing in the class, and we do need the
definition to be at the top of the function and held onto until the end
here, so there's not much to do besides (void) reference it.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index b82add9739d..5f659b13932 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -892,6 +892,7 @@ fs_visitor::setup_uniform_values(ir_variable *ir) /* Make sure we actually initialized the right amount of stuff here. */ assert(params_before + ir->type->component_slots() == c->prog_data.nr_params); + (void)params_before; } |