diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2014-10-09 11:52:31 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-11-09 20:15:28 +0100 |
commit | 344598ac4c9f573229b92c89ef6330f21726a046 (patch) | |
tree | f4dfd959c3caedac3e9a65286a9438f27a9180d2 /src/libqmi-glib/qmi-message.c | |
parent | 2e9bbe318667c940004e8247fb73b6afa204c569 (diff) |
libqmi-glib,message: no need to pass error when asserting
Diffstat (limited to 'src/libqmi-glib/qmi-message.c')
-rw-r--r-- | src/libqmi-glib/qmi-message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libqmi-glib/qmi-message.c b/src/libqmi-glib/qmi-message.c index 6b503ac..26930a1 100644 --- a/src/libqmi-glib/qmi-message.c +++ b/src/libqmi-glib/qmi-message.c @@ -794,7 +794,7 @@ qmi_message_tlv_write_complete (QmiMessage *self, set_all_tlvs_length (self, (guint16)(get_all_tlvs_length (self) + tlv_length)); /* Make sure we didn't break anything. */ - g_assert (message_check (self, error)); + g_assert (message_check (self, NULL)); return TRUE; } @@ -1300,7 +1300,7 @@ qmi_message_add_raw_tlv (QmiMessage *self, set_all_tlvs_length (self, (guint16)(get_all_tlvs_length (self) + tlv_len)); /* Make sure we didn't break anything. */ - g_assert (message_check (self, error)); + g_assert (message_check (self, NULL)); return TRUE; } |