diff --git a/flawfinder b/flawfinder index 641b96f..e0704e1 100755 --- a/flawfinder +++ b/flawfinder @@ -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)