libmm-glib,firmware-properties: allow NULL when building dictionary
This commit is contained in:
@@ -255,8 +255,6 @@ mm_firmware_properties_get_dictionary (MMFirmwareProperties *self)
|
|||||||
{
|
{
|
||||||
GVariantBuilder builder;
|
GVariantBuilder builder;
|
||||||
|
|
||||||
g_return_val_if_fail (MM_IS_FIRMWARE_PROPERTIES (self), NULL);
|
|
||||||
|
|
||||||
/* We do allow NULL */
|
/* We do allow NULL */
|
||||||
if (!self)
|
if (!self)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user