Module: kamailio
Branch: master
Commit: f8284418ea7d16dec970260cb92eb1af35bbf643
URL:
https://github.com/kamailio/kamailio/commit/f8284418ea7d16dec970260cb92eb1a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-03-02T10:21:23+01:00
sms: removed duplicate declaration of global variables
---
Modified: src/modules/sms/libsms_modem.c
Modified: src/modules/sms/sms_funcs.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f8284418ea7d16dec970260cb92eb1a…
Patch:
https://github.com/kamailio/kamailio/commit/f8284418ea7d16dec970260cb92eb1a…
---
diff --git a/src/modules/sms/libsms_modem.c b/src/modules/sms/libsms_modem.c
index fe0be1f8a7..7b43352d6b 100644
--- a/src/modules/sms/libsms_modem.c
+++ b/src/modules/sms/libsms_modem.c
@@ -35,7 +35,6 @@ mailto:s.frings@mail.isis.de
#define optz(_n,_l) (buf+buf_len-(((_n)+(_l)>buf_len)?buf_len:(_n)+(_l)))
/* global variables */
-int sms_report_type;
cds_report cds_report_func;
diff --git a/src/modules/sms/sms_funcs.c b/src/modules/sms/sms_funcs.c
index e88f6813af..32efec520c 100644
--- a/src/modules/sms/sms_funcs.c
+++ b/src/modules/sms/sms_funcs.c
@@ -47,8 +47,6 @@ struct network networks[MAX_NETWORKS];
int net_pipes_in[MAX_NETWORKS];
int nr_of_networks;
int nr_of_modems;
-int *queued_msgs;
-int use_contact;
struct tm_binds tmb;