This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 9a5add2b604e9d6e5120d1c748e311f895e71908
Author: Thomas Köppe <tkoe...@google.com>
Date:   Mon Jul 25 18:30:15 2016 +0100

    [tools/asm/q3asm.c] Remove 'abs(unsigned)', which is unnecessary and 
potentially wrong
---
 code/tools/asm/q3asm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/code/tools/asm/q3asm.c b/code/tools/asm/q3asm.c
index 191a9db..54c6ab1 100644
--- a/code/tools/asm/q3asm.c
+++ b/code/tools/asm/q3asm.c
@@ -477,7 +477,7 @@ static unsigned int HashString (const char *key)
     acc = (acc << 2) | (acc >> 30);
     acc &= 0xffffffffU;
     }
-    return abs(acc);
+    return acc;
 }
 
 
@@ -1644,4 +1644,3 @@ Motivation: not wanting to scrollback for pages to find 
asm error.
 
        return errorCount;
 }
-

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/ioquake3.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to