Mesa (master): tgsi: Remove dead assignment in uprcase function.

Vinson Lee vlee at kemper.freedesktop.org
Thu Jul 15 08:27:03 UTC 2010


Module: Mesa
Branch: master
Commit: 3471ac95691ee976607122aace9bbebe7db96f17
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3471ac95691ee976607122aace9bbebe7db96f17

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Jul 15 01:26:09 2010 -0700

tgsi: Remove dead assignment in uprcase function.

---

 src/gallium/auxiliary/tgsi/tgsi_text.c |    2 +-
 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 55fccba..8a9409b 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;
 }
 




More information about the mesa-commit mailing list