From daa88e3d1591eb32ff5f1716fff0d382059b69a3 Mon Sep 17 00:00:00 2001 From: Volker Sobek Date: Mon, 10 Nov 2014 19:59:11 +0100 Subject: [PATCH] libqmi-glib,message: fix build The build failed because g_return_val_if_fail was used in a void function. Use g_return_if_fail instead. --- src/libqmi-glib/qmi-message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libqmi-glib/qmi-message.c b/src/libqmi-glib/qmi-message.c index 92d6d4b..296d3b5 100644 --- a/src/libqmi-glib/qmi-message.c +++ b/src/libqmi-glib/qmi-message.c @@ -718,7 +718,7 @@ void qmi_message_tlv_write_reset (QmiMessage *self, gsize tlv_offset) { - g_return_val_if_fail (self != NULL, FALSE); + g_return_if_fail (self != NULL); g_byte_array_set_size (self, tlv_offset); } -- 2.1.0