mesa: remove unreachable code in _mesa_unpack_color_span_ubyte()
authorBrian Paul <brianp@vmware.com>
Thu, 1 Dec 2011 23:37:49 +0000 (16:37 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 2 Dec 2011 14:22:40 +0000 (07:22 -0700)
commitbbbab8de63bc95fef261447b75225bc57c5d8122
tree688ca5daee450fa5ec0ef774cd9e301db77983a7
parent01cd9a7d9292507a8c9e6cdc74ba1083248b0bf0
mesa: remove unreachable code in _mesa_unpack_color_span_ubyte()

We checked if srcType == GL_UNSIGNED_BYTE earlier so there was no
way to reach this code.  This was left-over code from the GLchan
removal work.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/pack.c