strip dead code in gprof2dot.py
This commit is contained in:
parent
fdd6a3862d
commit
ec11996466
@ -1715,16 +1715,6 @@ class CallgrindParser(LineParser):
|
|||||||
return None
|
return None
|
||||||
key, value = pair
|
key, value = pair
|
||||||
return value
|
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):
|
def parse_keys(self, keys):
|
||||||
line = self.lookahead()
|
line = self.lookahead()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user