mesa: change assert to unreachable in two format functions
authorTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Mon, 19 Jan 2015 20:51:38 +0000 (21:51 +0100)
committerMatt Turner <mattst88@gmail.com>
Wed, 21 Jan 2015 21:17:27 +0000 (13:17 -0800)
commit76086d7120152ebced634875889612d0c40a37bb
treea041eb1e93c21a01d2c405d8e8bb3b69b08a390f
parent7da60eca4f9e8b8e38b709e728ea94b07be1b0e4
mesa: change assert to unreachable in two format functions

This fixes two problems reported by osc:
I: Program returns random data in a function
E: Mesa no-return-in-nonvoid-function ../../src/mesa/main/format_utils.c:180
E: Mesa no-return-in-nonvoid-function ../../src/mesa/main/glformats.c:2714

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
src/mesa/main/format_utils.c
src/mesa/main/glformats.c