diff mbox

[ndctl,4/3] ndctl, configure: add -Wmaybe-uninitialized to cflags

Message ID 20180221230648.17591-1-vishal.l.verma@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Verma, Vishal L Feb. 21, 2018, 11:06 p.m. UTC
rpmbuild had the above cflag enabled, but local builds didn't, resulting
in missed warnings. Add it to my_CFLAGS in configure.ac

Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 70ba360..9067b41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -145,6 +145,7 @@  my_CFLAGS="\
 -Wsign-compare \
 -Wstrict-prototypes \
 -Wtype-limits \
+-Wmaybe-uninitialized
 "
 AC_SUBST([my_CFLAGS])