From: Dave Airlie Date: Thu, 23 Dec 2010 23:28:14 +0000 (+1000) Subject: tgsi_text: just parse as an integer (value is a boolean). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aaccb732763275e35598c2c7b1bff930a23b7909;p=mesa.git tgsi_text: just parse as an integer (value is a boolean). fixes warning reported by vlee on irc. Signed-off-by: Dave Airlie --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index ccb17b77504..6778d9abb0b 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_text.c +++ b/src/gallium/auxiliary/tgsi/tgsi_text.c @@ -1400,7 +1400,6 @@ static boolean parse_property( struct translate_ctx *ctx ) } break; case TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS: - break; default: if (!parse_uint(&ctx->cur, &values[0] )) { report_error( ctx, "Expected unsigned integer as property!" );