]> git.proxmox.com Git - mirror_frr.git/commit - lib/vty.c
*: no-warn pragmas for non-const format strings
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 26 Jan 2023 13:53:47 +0000 (14:53 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 27 Jan 2023 11:01:20 +0000 (12:01 +0100)
commitc84e51870940311bb6ec67d8b192da1ce32cba8f
tree5d1c214da53ca54b575e0b9e7c66d3c2422b1751
parent0f9de11a11644b77cc60d6ff6ac4519d2e5c29e1
*: no-warn pragmas for non-const format strings

We do use non-constant/literal format strings in a few places for more
or less valid reasons;  put `ignored "-Wformat-nonliteral"` around those
so we can have the warning enabled for everywhere else.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_dump.c
ldpd/log.c
lib/printf/glue.c
lib/printf/vfprintf.c
lib/vty.c
lib/yang_translator.c
lib/zlog.c
vtysh/vtysh.c
watchfrr/watchfrr.c