]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/unit.c
Use VLA instead of alloca
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 7 Dec 2018 15:38:03 +0000 (16:38 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 10 Dec 2018 10:57:26 +0000 (11:57 +0100)
commit4cb06c5949eba752f87dd6ad74620cc0e5cabf4a
treed4f1e1e2f21100a530a280b86f3eb515b2ae49f3
parent60473f0c23674bbde9f1b3cf1a2222a89c254886
Use VLA instead of alloca

The test is the same, but an array is more readable.
src/core/unit.c