]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/{time,format}-util: warn when format result is unused
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 6 Jul 2021 13:16:15 +0000 (15:16 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 9 Jul 2021 09:11:25 +0000 (11:11 +0200)
commit6c6368e938c2bf15efbb35bd80927bdf03f92616
treedf4e8888ab11ab4501d82c33cede7c7cbc1a518e
parentbc2a4af25f7f7673712ff9b70822a1f68974ee4c
basic/{time,format}-util: warn when format result is unused

Now that anonymous buffers are used in almost all cases, code which
does not use the return value is usually broken.
src/basic/format-util.h
src/basic/macro.h
src/basic/time-util.h