diff options
author | 2010-07-16 16:38:10 +0100 | |
---|---|---|
committer | 2011-04-05 11:39:52 +0100 | |
commit | 7d76d5d506424575139de34fa70ae246f401cfcc (patch) | |
tree | 4f477fe91416fd68f98e841c7f96013c4dce95e1 /m4 | |
parent | Remove acinclude.m4 file (diff) | |
download | libvirt-7d76d5d506424575139de34fa70ae246f401cfcc.tar.gz libvirt-7d76d5d506424575139de34fa70ae246f401cfcc.tar.bz2 libvirt-7d76d5d506424575139de34fa70ae246f401cfcc.zip |
Enable -Wmissing-format-attribute warning
Add a couple of missing ATTRIBUTE_FMT_PRINTF annotations
* tools/virsh.c, tests/testutils.c: Add printf format attribute
* m4/virt-compile-warnings.m4: Enable -Wmissing-format-attribute
Diffstat (limited to 'm4')
-rw-r--r-- | m4/virt-compile-warnings.m4 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/m4/virt-compile-warnings.m4 b/m4/virt-compile-warnings.m4 index 9dbc90e0e..0431074cb 100644 --- a/m4/virt-compile-warnings.m4 +++ b/m4/virt-compile-warnings.m4 @@ -67,7 +67,6 @@ AC_DEFUN([LIBVIRT_COMPILE_WARNINGS],[ dontwarn="$dontwarn -Wpacked" dontwarn="$dontwarn -Wunused-macros" dontwarn="$dontwarn -Woverlength-strings" - dontwarn="$dontwarn -Wmissing-format-attribute" dontwarn="$dontwarn -Wstack-protector" # Get all possible GCC warnings |