From: José Fonseca Date: Wed, 4 May 2011 08:51:53 +0000 (+0100) Subject: Remove dead code. X-Git-Tag: 2.0_alpha^2~964 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b51c6d3bda88ad3a7472df6c539288987c8bbe8e;p=tools%2Fapitrace.git Remove dead code. --- diff --git a/glstate.py b/glstate.py index 4c75fbc..a42148e 100644 --- a/glstate.py +++ b/glstate.py @@ -225,7 +225,7 @@ class StateDumper: stdout.''' def __init__(self): - self.level = 0 + pass def dump(self): print '#include ' @@ -910,19 +910,6 @@ writeDrawBuffers(JSONWriter &json, GLboolean writeDepth, GLboolean writeStencil) print ' }' print - def write_line(s): - self.write(' '*self.level + s + '\n') - - def write(self, s): - sys.stdout.write(s) - - def indent(self): - self.level += 1 - - def dedent(self): - self.level -= 1 - - if __name__ == '__main__': StateDumper().dump()