]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: move assert before actual use of the variable
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 26 Jun 2019 09:52:57 +0000 (11:52 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 26 Jun 2019 14:24:48 +0000 (16:24 +0200)
commit48f48b8c7cfbbea44eca91eb21e408dfeb9e22a9
treea3bfbd8603e7232333f73b99637d08894f304e73
parentfa97f63067a05b4e793fd4e0a2b54797459b4812
core: move assert before actual use of the variable

No point in using u->id first, and doing assert(u) later.
-std=c89 strikes again.
src/core/unit-printf.c