strip dead code in gprof2dot.py

This commit is contained in:
arvidn 2017-09-11 10:41:37 +02:00
parent fdd6a3862d
commit ec11996466
1 changed files with 0 additions and 10 deletions

View File

@ -1715,16 +1715,6 @@ class CallgrindParser(LineParser):
return None
key, value = pair
return value
line = self.lookahead()
mo = self._key_re.match(line)
if not mo:
return None
key, value = line.split(':', 1)
if key not in keys:
return None
value = value.strip()
self.consume()
return key, value
def parse_keys(self, keys):
line = self.lookahead()