st/nine: Remove useless code in nine_shader
authorAxel Davy <axel.davy@ens.fr>
Wed, 12 Oct 2016 16:58:24 +0000 (18:58 +0200)
committerAxel Davy <axel.davy@ens.fr>
Thu, 13 Oct 2016 19:16:35 +0000 (21:16 +0200)
commit98b8ad61c6bc531646bec1e773b0f57f99e47159
treeaa44c242437a4a02018dfd704809b584f88dddfe
parent197cdd1bbdafaf44dc705e518987a08953b092ab
st/nine: Remove useless code in nine_shader

Since 1604efa6fda9b780e8537a131ad77f3e83e5a67a,
lconsti and lconstb don't need to be initialized.

Remove some leftovers from the previous code (which
has now invalid use of ARRAY_SIZE on a pointer instead
of an array).

Reported by Coverity.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_shader.c