Avoid passing non-literals to string formatting functions
commit2490df9b45a2b5c3707436971a8bb5f3538fc006
authorColomban Wendling <ban@herbesfolles.org>
Tue, 24 Jun 2014 13:02:31 +0000 (24 15:02 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Tue, 24 Jun 2014 13:02:31 +0000 (24 15:02 +0200)
treeff51c17fa392123b479a37ff00e7de0d28d596c3
parent135b60d25ef7557d2ea75a1a4f684ee49b5c3463
Avoid passing non-literals to string formatting functions

Having a string literal allows the compiler to check the arguments
match the format, so avoid passing non-literal whenever possible.
src/filetypes.c