Mesa (master): util: Remove unnecessary semicolons in Python scripts.
Vinson Lee
vlee at kemper.freedesktop.org
Wed May 19 13:43:49 UTC 2010
Module: Mesa
Branch: master
Commit: 82049b95950cf164932242f375fc0922b1865f5e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=82049b95950cf164932242f375fc0922b1865f5e
Author: Vinson Lee <vlee at vmware.com>
Date: Wed May 19 06:41:35 2010 -0700
util: Remove unnecessary semicolons in Python scripts.
---
src/gallium/auxiliary/util/u_format_parse.py | 2 +-
src/gallium/auxiliary/util/u_half.py | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_format_parse.py b/src/gallium/auxiliary/util/u_format_parse.py
index 7076c67..ddb9f24 100755
--- a/src/gallium/auxiliary/util/u_format_parse.py
+++ b/src/gallium/auxiliary/util/u_format_parse.py
@@ -43,7 +43,7 @@ ZS = 'zs'
def is_pot(x):
- return (x & (x - 1)) == 0;
+ return (x & (x - 1)) == 0
VERY_LARGE = 99999999999999999999999
diff --git a/src/gallium/auxiliary/util/u_half.py b/src/gallium/auxiliary/util/u_half.py
index 8007482..915cf3b 100644
--- a/src/gallium/auxiliary/util/u_half.py
+++ b/src/gallium/auxiliary/util/u_half.py
@@ -83,11 +83,11 @@ for i in xrange(1, 1024):
# normalize number
while (m & 0x00800000) == 0:
- e -= 0x00800000;
- m <<= 1;
+ e -= 0x00800000
+ m <<= 1
- m &= ~0x00800000;
- e += 0x38800000;
+ m &= ~0x00800000
+ e += 0x38800000
value(m | e)
# normals
More information about the mesa-commit
mailing list