changeset 35420:c8e8e14a5ee9

statprof: remove a line of deadcode Differential Revision: https://phab.mercurial-scm.org/D1689
author Alex Gaynor <agaynor@mozilla.com>
date Thu, 14 Dec 2017 20:18:15 +0000
parents b1959391a088
children a51541681b8d
files mercurial/statprof.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/statprof.py	Sun Oct 01 12:21:50 2017 +0100
+++ b/mercurial/statprof.py	Thu Dec 14 20:18:15 2017 +0000
@@ -815,7 +815,6 @@
         tos = sample.stack[0]
         name = tos.function
         path = simplifypath(tos.path)
-        category = '%s:%d' % (path, tos.lineno)
         stack = tuple((('%s:%d' % (simplifypath(frame.path), frame.lineno),
                         frame.function) for frame in sample.stack))
         qstack = collections.deque(stack)