Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2863c0a4 authored by zijunzhao's avatar zijunzhao Committed by Zijun Zhao
Browse files

Enable -Wnull-dereference globally

Bug: b/29823425
Test: m
Change-Id: I8d73cbc92b06829d8b937af262298d54c7697404
parent aafdf54f
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -207,10 +207,7 @@ var (
		"-Werror=fortify-source",

		"-Werror=address-of-temporary",
		// Bug: http://b/29823425 Disable -Wnull-dereference until the
		// new cases detected by this warning in Clang r271374 are
		// fixed.
		//"-Werror=null-dereference",
		"-Werror=null-dereference",
		"-Werror=return-type",

		// http://b/72331526 Disable -Wtautological-* until the instances detected by these