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
This commit is contained in:
Daniel P. Berrange
2010-07-16 16:38:10 +01:00
parent 4825b521e2
commit 7d76d5d506
3 changed files with 3 additions and 3 deletions

View File

@@ -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