util: Remove unnecessary semicolons in Python scripts.
authorVinson Lee <vlee@vmware.com>
Wed, 19 May 2010 13:41:35 +0000 (06:41 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 19 May 2010 13:43:14 +0000 (06:43 -0700)
src/gallium/auxiliary/util/u_format_parse.py
src/gallium/auxiliary/util/u_half.py

index 7076c676aaf000f50d0362e3865fab397d404d54..ddb9f2443d9b805fba7b9b78f77940c59fa230c0 100755 (executable)
@@ -43,7 +43,7 @@ ZS = 'zs'
 
 
 def is_pot(x):
-   return (x & (x - 1)) == 0;
+   return (x & (x - 1)) == 0
 
 
 VERY_LARGE = 99999999999999999999999
index 8007482e971ddab4359d04d8f1e5861c59b0cdfa..915cf3b9273951f68d3c1d39e39ef65c6fc3b818 100644 (file)
@@ -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