diff options
author | Volker Sobek <reklov@live.com> | 2014-11-10 19:59:11 +0100 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2014-11-10 15:36:22 -0600 |
commit | aafe3e64abe92fc558044418e75d5f9f9d261118 (patch) | |
tree | 75de2e3d94b85c6f3df7f41bc6c958f8d850ba7c | |
parent | bef0cdb543c29efe5e36c9aca2d5affb3c3e46c0 (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
-rw-r--r-- | src/libqmi-glib/qmi-message.c | 2 |
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); } |