#3949: printf called without format
-------------------------+----------------------
Reporter: tamo | Owner: mutt-dev
Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: build | Version: 1.8.3
Keywords: |
-------------------------+----------------------
Just FYI.
clang with the default CFLAGS (-Wall -pedantic -Wno-long-long) produces a
number of warnings.
{{{
warning: format string is not a string literal (potentially insecure)
[-Wformat-security]
}}}
True, clang is a little pedantic here (as CFLAGS tells it to be so), but
{{{
printf(_("Just a string, not a format string.\n"));
}}}
can be replaced with puts().
I don't know which is better, to ignore the warnings or to modify the
code.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3949>
Mutt <http://www.mutt.org/>
The Mutt mail user agent