Re: [Mesa-dev] [PATCH 3/9] egl: fix uninitialized values

2012-04-02 Thread Brian Paul
On 04/01/2012 04:24 PM, nobled wrote: Noticed by clang: eglimage.c:48:28: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(attrs, 0, sizeof(attrs)); ~^

[Mesa-dev] [PATCH 3/9] egl: fix uninitialized values

2012-04-01 Thread nobled
Noticed by clang: eglimage.c:48:28: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(attrs, 0, sizeof(attrs)); ~^ NOTE: This is a candidate for the 8.0 bra