Re: [Mesa-dev] [PATCH] glx: Suppress unused variable warning for cmdlen

2012-01-09 Thread Kenneth Graunke
On 01/09/2012 03:56 PM, Paul Berry wrote: No functional change. In the function __indirect_glAreTexturesResident(), the variable cmdlen is only used if USE_XCB is not defined. This patch avoids a compile warning in the event that USE_XCB is defined. v2: just move cmdlen declaration inside the

Re: [Mesa-dev] [PATCH] glx: Suppress unused variable warning for cmdlen

2012-01-09 Thread Ian Romanick
On 01/09/2012 03:56 PM, Paul Berry wrote: No functional change. In the function __indirect_glAreTexturesResident(), the variable cmdlen is only used if USE_XCB is not defined. This patch avoids a compile warning in the event that USE_XCB is defined. v2: just move cmdlen declaration inside the

[Mesa-dev] [PATCH] glx: Suppress unused variable warning for cmdlen

2012-01-09 Thread Paul Berry
No functional change. In the function __indirect_glAreTexturesResident(), the variable cmdlen is only used if USE_XCB is not defined. This patch avoids a compile warning in the event that USE_XCB is defined. v2: just move cmdlen declaration inside the #else part. --- src/glx/single2.c |2 +-

Re: [Mesa-dev] [PATCH] glx: Suppress unused variable warning for cmdlen

2012-01-09 Thread Paul Berry
On 9 January 2012 14:28, Ian Romanick wrote: > On 01/09/2012 01:27 PM, Paul Berry wrote: > >> No functional change. In the function >> __indirect_**glAreTexturesResident(), the variable cmdlen is only used >> if USE_XCB is not defined. This patch avoids a compile warning in the >> event that US

Re: [Mesa-dev] [PATCH] glx: Suppress unused variable warning for cmdlen

2012-01-09 Thread Ian Romanick
On 01/09/2012 01:27 PM, Paul Berry wrote: No functional change. In the function __indirect_glAreTexturesResident(), the variable cmdlen is only used if USE_XCB is not defined. This patch avoids a compile warning in the event that USE_XCB is defined. --- src/glx/single2.c |1 + 1 files ch

[Mesa-dev] [PATCH] glx: Suppress unused variable warning for cmdlen

2012-01-09 Thread Paul Berry
No functional change. In the function __indirect_glAreTexturesResident(), the variable cmdlen is only used if USE_XCB is not defined. This patch avoids a compile warning in the event that USE_XCB is defined. --- src/glx/single2.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff -