mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
st/nine: Silent warning in nine_ff
release build was complaining Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
parent
3cc205bbeb
commit
f57e9c77e3
1 changed files with 2 additions and 0 deletions
|
|
@ -1541,6 +1541,7 @@ nine_ff_get_vs(struct NineDevice9 *device)
|
|||
memcpy(&vs->ff_key, &key, sizeof(vs->ff_key));
|
||||
|
||||
err = util_hash_table_set(device->ff.ht_vs, &vs->ff_key, vs);
|
||||
(void)err;
|
||||
assert(err == PIPE_OK);
|
||||
device->ff.num_vs++;
|
||||
NineUnknown_ConvertRefToBind(NineUnknown(vs));
|
||||
|
|
@ -1643,6 +1644,7 @@ nine_ff_get_ps(struct NineDevice9 *device)
|
|||
memcpy(&ps->ff_key, &key, sizeof(ps->ff_key));
|
||||
|
||||
err = util_hash_table_set(device->ff.ht_ps, &ps->ff_key, ps);
|
||||
(void)err;
|
||||
assert(err == PIPE_OK);
|
||||
device->ff.num_ps++;
|
||||
NineUnknown_ConvertRefToBind(NineUnknown(ps));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue