Remove unused global variables
This fixes bug report #13, "Unused global variables" from philipp. Thanks! Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
parent
fdd8a3bf47
commit
0eed96c22d
|
@ -116,9 +116,6 @@ sumlines = 0 # Number of lines (total) examined.
|
|||
sloc = 0 # Physical SLOC
|
||||
starttime = time.time() # Used to determine analyzed lines/second.
|
||||
|
||||
line_beginning = re.compile(r'(?m)^')
|
||||
blank_line = re.compile(r'(?m)^\s+$')
|
||||
|
||||
|
||||
# Send warning message. This is written this way to work on
|
||||
# Python version 2.5 through Python 3.
|
||||
|
@ -226,10 +223,6 @@ def gnu_diff_get_filename(sLine):
|
|||
return None
|
||||
|
||||
|
||||
git_splitter = ' b/'
|
||||
len_git_splitter = len(git_splitter)
|
||||
|
||||
|
||||
def git_diff_get_filename(sLine):
|
||||
return diff_git_filename.match(sLine)
|
||||
|
||||
|
|
Loading…
Reference in New Issue