[3/6] net/e1000/base: remove warning disable flags
Checks
Commit Message
Not all the flags for disabling warnings on the base code are needed, so
remove the unnecessary ones.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
drivers/net/e1000/base/meson.build | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
@@ -22,9 +22,10 @@ sources = [
'e1000_vf.c',
]
-error_cflags = ['-Wno-uninitialized', '-Wno-unused-parameter',
- '-Wno-unused-variable', '-Wno-misleading-indentation',
- '-Wno-implicit-fallthrough']
+error_cflags = [
+ '-Wno-unused-parameter',
+ '-Wno-implicit-fallthrough'
+]
c_args = cflags
foreach flag: error_cflags
if cc.has_argument(flag)