From ec1199646645c35c3841c96af5bc34c97fc7241b Mon Sep 17 00:00:00 2001 From: arvidn Date: Mon, 11 Sep 2017 10:41:37 +0200 Subject: [PATCH] strip dead code in gprof2dot.py --- tools/gprof2dot.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tools/gprof2dot.py b/tools/gprof2dot.py index 303495afd..64950124b 100755 --- a/tools/gprof2dot.py +++ b/tools/gprof2dot.py @@ -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()