diff options
author | Vinson Lee <vlee@vmware.com> | 2010-09-18 15:59:00 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-09-18 15:59:00 -0700 |
commit | ef715b866b6858b79530b44ec7be61f271591adc (patch) | |
tree | 926d3369d4727ef9b5d91f5ff2b79c873bb24363 /src/gallium/drivers/nv50 | |
parent | 613c3901c3cb748d7ef0bc3162ce3fcb986e9047 (diff) |
nv50: Silence missing initializer warning.
Fixes this GCC warning.
nv50_state_validate.c:336: warning: missing initializer
nv50_state_validate.c:336: error: (near initialization for 'validate_list[20].func')
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_state_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c index f1d8202dff..16c2dab9af 100644 --- a/src/gallium/drivers/nv50/nv50_state_validate.c +++ b/src/gallium/drivers/nv50/nv50_state_validate.c @@ -333,7 +333,7 @@ struct state_validate { { validate_vtxbuf , NV50_NEW_ARRAYS }, { validate_vtxattr , NV50_NEW_ARRAYS }, { validate_clip , NV50_NEW_CLIP }, - {} + { NULL , 0 } }; #define validate_list_len (sizeof(validate_list) / sizeof(validate_list[0])) |