summaryrefslogtreecommitdiff
path: root/src/libqmi-glib/qmi-message.c
diff options
context:
space:
mode:
authorVolker Sobek <reklov@live.com>2014-11-10 19:59:11 +0100
committerDan Williams <dcbw@redhat.com>2014-11-10 15:36:22 -0600
commitaafe3e64abe92fc558044418e75d5f9f9d261118 (patch)
tree75de2e3d94b85c6f3df7f41bc6c958f8d850ba7c /src/libqmi-glib/qmi-message.c
parentbef0cdb543c29efe5e36c9aca2d5affb3c3e46c0 (diff)
libqmi-glib,message: fix build (fdo #86128)
The build failed because g_return_val_if_fail was used in a void function. Use g_return_if_fail instead. https://bugs.freedesktop.org/show_bug.cgi?id=86128
Diffstat (limited to 'src/libqmi-glib/qmi-message.c')
-rw-r--r--src/libqmi-glib/qmi-message.c2
1 files changed, 1 insertions, 1 deletions
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);
}