Module: kamailio
Branch: 5.3
Commit: a7248dd187b89cdeab9d72a2de574d4eaab4987d
URL:
https://github.com/kamailio/kamailio/commit/a7248dd187b89cdeab9d72a2de574d4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-03-04T12:27:24+01:00
sms: removed duplicate declaration of global variables
(cherry picked from commit f8284418ea7d16dec970260cb92eb1af35bbf643)
---
Modified: src/modules/sms/libsms_modem.c
Modified: src/modules/sms/sms_funcs.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a7248dd187b89cdeab9d72a2de574d4…
Patch:
https://github.com/kamailio/kamailio/commit/a7248dd187b89cdeab9d72a2de574d4…
---
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;