- make Christian happy
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 21 May 2008 21:15:37 +0000 (21:15 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 21 May 2008 21:15:37 +0000 (21:15 -0000)
scripts/bloat-o-meter

index 49f552717980f479b40d96a73d78fe59c9d17bda..76d342cae506b3fd10fd601014f706ac6dd1c82e 100755 (executable)
@@ -21,9 +21,8 @@ for f in sys.argv[1], sys.argv[2]:
 def getsizes(file):
     sym = {}
     for l in os.popen("nm --size-sort " + file).readlines():
-        l = l.strip()
        # Skip empty lines
-        if not len(l): continue
+        if not len(l.strip()): continue
        # Skip archive members
         if len(l.split()) == 1 and l.endswith(':'):
           continue