# HG changeset patch # User Bryan O'Sullivan # Date 2013-04-13 02:48:07 # Node ID 9dd5a4815c6f0d1dad04e9d944b6e6b7715c474d # Parent 0080d0d1fcb391ec0d06782e70b6c5d50a457bd5 util: remove unreachable code Found by Cython. diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -769,8 +769,6 @@ def checknlink(testfile): except OSError: pass - return False - def endswithsep(path): '''Check path ends with os.sep or os.altsep.''' return path.endswith(os.sep) or os.altsep and path.endswith(os.altsep)