mesa: use correct return statement for a void function
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 26 Jan 2017 13:18:39 +0000 (13:18 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 27 Jan 2017 17:56:56 +0000 (17:56 +0000)
commitc1960e23ffb10f782cbcd09caabdd573d440c012
treebca3667cd6515845520194b754ac7b3623474c64
parentbe3b5e015c5cdbe28ab366b18f35a49690960353
mesa: use correct return statement for a void function

Using return foo() is incorrect even if foo itself returns void.
Spotted by AppVeyor, as below:

teximage.c(3653) : warning C4098: 'copyteximage' : 'void' function returning a value

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/teximage.c