Remove uninitialized warning

This commit is contained in:
Denis Kenzior 2009-07-13 22:09:45 -05:00
parent 6b7fb7c9f9
commit 20fb6149a7
1 changed files with 3 additions and 0 deletions

View File

@ -528,6 +528,9 @@ static void sms_dispatch(struct ofono_modem *modem, GSList *sms_list)
int srcport = -1;
int dstport = -1;
if (sms_list == NULL)
return;
/* Qutoting 23.040: The TP elements in the SMSSUBMIT PDU, apart from
* TPMR, TP-SRR, TPUDL and TPUD, should remain unchanged for each
* SM which forms part of a concatenated SM, otherwise this may lead