tx_next() must never be called with entry == NULL and currently it
was already being dereferenced before making this check. Thus just
remove it.
---
src/sms.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/sms.c b/src/sms.c
index 212a470..be7132a5 100644
--- a/src/sms.c
+++ b/src/sms.c
@@ -675,9 +675,6 @@ static gboolean tx_next(gpointer user_data)
sms->tx_source = 0;
- if (entry == NULL)
- return FALSE;
-
if (sms->registered == FALSE)
return FALSE;
--
1.7.4
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono