Skip to content
This repository was archived by the owner on Jul 13, 2019. It is now read-only.

Commit dc0c3a3

Browse files
Marco Massenziotkruse
authored andcommitted
add headers with fixed return
1 parent 32f55ea commit dc0c3a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpplint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,9 +1797,9 @@ def CheckHeaderFileIncluded(filename, include_state, error):
17971797
for ext in _header_extensions:
17981798
headerfile = filename[0:len(filename) - 2] + ext
17991799
if not os.path.exists(headerfile):
1800-
return
1800+
continue
18011801
headername = FileInfo(headerfile).RepositoryName()
1802-
first_include = 0
1802+
first_include = None
18031803
for section_list in include_state.include_list:
18041804
for f in section_list:
18051805
if headername in f[0] or f[0] in headername:

0 commit comments

Comments
 (0)