On Wed, Jul 17, 2024 at 8:01 AM Ilya Maximets <[email protected]> wrote: > > For some reason GCC 14.1.1 on Fedora 41 assumes that format can > be NULL and emits a warning: > > lib/util.c: In function 'xvasprintf': > lib/util.c:229:14: error: null format string > 229 | needed = vsnprintf(NULL, 0, format, args); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > I didn't find any users where this can be true. Adding an > assertion to silence the warning. In the worst case we'll > find out where it is being called incorrectly. > > Signed-off-by: Ilya Maximets <[email protected]>
Acked-by: Mike Pattrick <[email protected]> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
