main: silence missing return value warning in array_index_of_resource()
authorBrian Paul <brianp@vmware.com>
Thu, 16 Apr 2015 21:27:20 +0000 (15:27 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 22 Apr 2015 14:58:05 +0000 (08:58 -0600)
commitb260d9d91f84f26676cf8baf42c6df88678be668
tree2740239763c0e550b020ad28bf6370cb390c76c0
parent0b1823f5beeeb7a35e3addee071b31ac227734dc
main: silence missing return value warning in array_index_of_resource()

v2: return -1 instead of 0, per Emil Velikov.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/shader_query.cpp