forked from premiere/premiere-libtorrent
strip dead code in gprof2dot.py
This commit is contained in:
parent
fdd6a3862d
commit
ec11996466
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue