From 0245b6256a86f7ebb7202cc60485a2d8cb54c369 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 18 Jul 2013 17:54:45 +0200 Subject: [PATCH] libmm-glib,firmware-properties: allow NULL when building dictionary --- libmm-glib/mm-firmware-properties.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libmm-glib/mm-firmware-properties.c b/libmm-glib/mm-firmware-properties.c index c1451223..b9d95721 100644 --- a/libmm-glib/mm-firmware-properties.c +++ b/libmm-glib/mm-firmware-properties.c @@ -255,8 +255,6 @@ mm_firmware_properties_get_dictionary (MMFirmwareProperties *self) { GVariantBuilder builder; - g_return_val_if_fail (MM_IS_FIRMWARE_PROPERTIES (self), NULL); - /* We do allow NULL */ if (!self) return NULL;