json: handle NULL explicitly in json_variant_has_type()
authorLennart Poettering <lennart@poettering.net>
Fri, 4 Jan 2019 12:24:18 +0000 (13:24 +0100)
committerMartin Pitt <mpitt@debian.org>
Sun, 27 Jan 2019 21:33:07 +0000 (21:33 +0000)
commit1bce69c788a59fc73ea90b34c480314751af1af9
treea67e6250a41019dcf9dec33b8f3f8b0fd38a15a3
parente1489d436e09f100d1a7dc836a14ed703860ecf8
json: handle NULL explicitly in json_variant_has_type()

(cherry picked from commit f8c186c9ece5c1c0b89abf52f058efb0ed37e0cb)
(cherry picked from commit 388e534d24cac041bd00b48f27a84d6b31089c67)

Gbp-Pq: Name json-handle-NULL-explicitly-in-json_variant_has_type.patch
src/shared/json.c