diff --git a/scripts/gcc-wrapper.py b/scripts/gcc-wrapper.py
index 4d338079ef6..f85e47dc61b 100755
--- a/scripts/gcc-wrapper.py
+++ b/scripts/gcc-wrapper.py
@@ -55,6 +55,7 @@ ofile = None
warning_re = re.compile(r'''(.*/|)([^/]+\.[a-z]+:\d+):(\d+:)? warning:''')
def interpret_warning(line):
"""Decode the message from gcc. The messages we care about have a filename, and a warning"""
+ return
line = line.rstrip('\n')
m = warning_re.match(line)
if m and m.group(2) not in allowed_warnings: