On Mon, Aug 8, 2016 at 4:49 PM, Vinson Lee <[email protected]> wrote:
> Fix unused-const-variable warnings.
>
> oes_compressed_astc-miptree-3d.c:108:20: warning: unused variable 'green'
> [-Wunused-const-variable]
> static const float green[3] = {0.0, 1.0, 0.0};
> ^
> oes_compressed_astc-miptree-3d.c:109:20: warning: unused variable 'red'
> [-Wunused-const-variable]
> static const float red[3] = {1.0, 0.0, 0.0};
> ^
> oes_compressed_astc-miptree-3d.c:110:20: warning: unused variable 'black'
> [-Wunused-const-variable]
> static const float black[3] = {0.0, 0.0, 0.0};
> ^
>
> Signed-off-by: Vinson Lee <[email protected]>
> ---
> .../oes_texture_compression_astc/oes_compressed_astc-miptree-3d.c | 4
> ----
> 1 file changed, 4 deletions(-)
>
> diff --git
> a/tests/spec/oes_texture_compression_astc/oes_compressed_astc-miptree-3d.c
> b/tests/spec/oes_texture_compression_astc/oes_compressed_astc-miptree-3d.c
> index 0219e529b302..84e661135296 100644
> --- a/tests/spec/oes_texture_compression_astc/oes_compressed_astc-miptree-3d.c
> +++ b/tests/spec/oes_texture_compression_astc/oes_compressed_astc-miptree-3d.c
> @@ -105,10 +105,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
>
> PIGLIT_GL_TEST_CONFIG_END
>
> -static const float green[3] = {0.0, 1.0, 0.0};
> -static const float red[3] = {1.0, 0.0, 0.0};
> -static const float black[3] = {0.0, 0.0, 0.0};
> -
> /**
> * The \a filename is relative to the current test's source directory.
> *
> --
> 2.7.4
>
Reviewed-by: Anuj Phogat <[email protected]>
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit