[Piglit] [PATCH] arb_enhanced_layouts: Remove unused variable.
Timothy Arceri
tarceri at itsqueeze.com
Fri Apr 21 00:59:56 UTC 2017
Acked-by: Timothy Arceri <tarceri at itsqueeze.com>
On 21/04/17 07:42, Vinson Lee wrote:
> Fix GCC unused-const-variable warning.
>
> gs-stream-location-aliasing.c:74:18: warning: ‘num_total_xfb_results’ defined but not used [-Wunused-const-variable=]
> static const int num_total_xfb_results = 2 * 2 * 2;
> ^~~~~~~~~~~~~~~~~~~~~
>
> Fixes: b81ecc9d3c68 ("arb_enhanced_layouts: add test for location aliasing across GS vertex streams")
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
> tests/spec/arb_enhanced_layouts/gs-stream-location-aliasing.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tests/spec/arb_enhanced_layouts/gs-stream-location-aliasing.c b/tests/spec/arb_enhanced_layouts/gs-stream-location-aliasing.c
> index 5bcacb0fdb37..765431e98665 100644
> --- a/tests/spec/arb_enhanced_layouts/gs-stream-location-aliasing.c
> +++ b/tests/spec/arb_enhanced_layouts/gs-stream-location-aliasing.c
> @@ -71,7 +71,6 @@ static const char gs_text[] =
>
> static const int num_in_vertices = 2;
> static const int num_xfb_results_per_stream = 2 * 2;
> -static const int num_total_xfb_results = 2 * 2 * 2;
>
> static void
> build_and_use_program()
>
More information about the Piglit
mailing list