mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
checkpatch: Reset line counter.
Lines should be counted for each file separately. Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Aaron Conole <aconole@redhat.com>
This commit is contained in:
@@ -64,10 +64,11 @@ def print_warning(message):
|
|||||||
|
|
||||||
|
|
||||||
def reset_counters():
|
def reset_counters():
|
||||||
global __errors, __warnings
|
global __errors, __warnings, total_line
|
||||||
|
|
||||||
__errors = 0
|
__errors = 0
|
||||||
__warnings = 0
|
__warnings = 0
|
||||||
|
total_line = 0
|
||||||
|
|
||||||
|
|
||||||
# These are keywords whose names are normally followed by a space and
|
# These are keywords whose names are normally followed by a space and
|
||||||
|
Reference in New Issue
Block a user