Remove two unreachable return statements in `highlight.near()`
`near` is only used within `linter.process_match` ehich expects a tuple
to be returned. Since both return statements here do not return a tuple
we can be safe that this code path was never reached.
@@ -241,16 +241,10 @@ class Highlight:
The position at which near is found is returned, or zero if there
is no match.
"""
- if not near:
- return
-
start, end = self.full_line(line)
text = self.code[start:end]
near = self.strip_quotes(near)
- if near == '':
- return 0
-
# Add \b fences around the text if it begins/ends with a word character
fence = ['', '']
