summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-07-15 01:26:09 -0700
committerVinson Lee <vlee@vmware.com>2010-07-15 01:26:09 -0700
commit3471ac95691ee976607122aace9bbebe7db96f17 (patch)
tree5fdfa70ac4040cbc03d9f5fdf0b9be020474f646 /src
parentcc2f337d06987ea7a8fbf30ce33330b4d993207c (diff)
tgsi: Remove dead assignment in uprcase function.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c
index 55fccba4d8..8a9409b4ee 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;
}