libmm-glib,firmware-properties: allow NULL when building dictionary

This commit is contained in:
Aleksander Morgado
2013-07-18 17:54:45 +02:00
parent abce098cfe
commit 0245b6256a

View File

@@ -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;