(svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case.

This commit is contained in:
rubidium
2008-05-05 18:27:57 +00:00
parent 8580edbf20
commit 41aeb7ffa0
3 changed files with 4 additions and 4 deletions

View File

@@ -934,7 +934,7 @@ make_cflags_and_ldflags() {
fi
if [ $cc_version -ge 30 ]; then
CFLAGS="$CFLAGS -W -Wno-unused-parameter"
CFLAGS="$CFLAGS -W -Wno-unused-parameter -Wformat=2"
fi
if [ $cc_version -ge 34 ]; then