mirror of
https://github.com/systemd/systemd.git
synced 2025-01-18 10:04:04 +03:00
3f92dc2fd4
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.