Skip to content
Snippets Groups Projects
Commit 64a553ff authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

Merge pull request #6329 from dgquintas/tiny_include_guard_fix

Tiny fix to check_include_guards script
parents 057a2f8f 267684ca
No related branches found
No related tags found
Loading
......@@ -98,6 +98,7 @@ class GuardValidator(object):
match = self.ifndef_re.search(fcontents)
if not match:
print 'something drastically wrong with: %s' % fpath
return False # failed
if match.lastindex is None:
# No ifndef. Request manual addition with hints
self.fail(fpath, match.re, match.string, '', '', False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment