From: Vinson Lee Date: Thu, 15 Jul 2010 08:26:09 +0000 (-0700) Subject: tgsi: Remove dead assignment in uprcase function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3471ac95691ee976607122aace9bbebe7db96f17;p=mesa.git tgsi: Remove dead assignment in uprcase function. --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index 55fccba4d8c..8a9409b4ee9 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_text.c +++ b/src/gallium/auxiliary/tgsi/tgsi_text.c @@ -58,7 +58,7 @@ static boolean is_digit_alpha_underscore( const char *cur ) static char uprcase( char c ) { if (c >= 'a' && c <= 'z') - return c += 'A' - 'a'; + return c + 'A' - 'a'; return c; }