mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
This erase_obj() machinery looks like voodoo and creates an awful lot of noise as soon as we get back to building with -O0. We can do this in a more simple way by introducing a struct that holds the information we need on cleanup. When building with optimization enabled, all this gets inlined and the eraser vanishes.
3.8 KiB
3.8 KiB