]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: refactor transaction.c to use fewer gotos
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Mar 2019 16:05:42 +0000 (17:05 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 1 Apr 2019 22:28:58 +0000 (07:28 +0900)
commitca006fc640e376ab85281e36447d476ab2bfbf5c
tree9f25cf0f88dd2d9f108c326850c593c34b54ca93
parenta313424154a74974069c3971b79291c2b72cd0ef
core: refactor transaction.c to use fewer gotos

In particular, let's not use gotos that jump up, i.e. are loops. gotos
that jump down for the purpose of clean-up are cool, but using them for
loops is evil.

No change in behaviour, just some refactoring.
src/core/transaction.c