]> git.ipfire.org Git - thirdparty/systemd.git/commit
json: drop redundant check
authorLennart Poettering <lennart@poettering.net>
Thu, 4 Jan 2024 14:17:19 +0000 (15:17 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 4 Jan 2024 21:55:42 +0000 (22:55 +0100)
commitbd334c0ebbc71d581eafc9bcffef01821eccedb8
treea6a9047ff3027ca76bb1d69f391856c0c6dd1465
parent86e62e9e02d8dd43fed5feaedc53af4671b98032
json: drop redundant check

The same check is done exactly one line later, because this is one of
the things that json_variant_is_regular() checks.

As per: https://github.com/systemd/systemd/pull/30578/commits/fa9a6db478e3f0f2753e4633af6d0d4881707c2b#r1441792019
src/shared/json.c