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>
Mon, 18 Feb 2019 13:54:04 +0000 (13:54 +0000)
commitc06dcd2d951b08b16078e6030bd295102d7e8ef4
treef7695e9e04f5999b4e7b4999dfa6e43d6d05c8b7
parentf5289001e08ecf0ed8bab0a7c7f5ddf92f716656
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