From 4187cd3b2d65be0bc2a41dd0b18cf5d36142d059 Mon Sep 17 00:00:00 2001 From: Muhammad Zaka Date: Mon, 19 Nov 2018 18:13:43 +0000 Subject: [PATCH] removed unnecessary pad_crypto_def variable --- daemon/call_interfaces.c | 2 -- daemon/main.c | 1 - include/call_interfaces.h | 1 - 3 files changed, 4 deletions(-) diff --git a/daemon/call_interfaces.c b/daemon/call_interfaces.c index 3c549f399..33af66315 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -36,7 +36,6 @@ static pcre_extra *streams_ree; int trust_address_def; int dtls_passive_def; -int pad_crypto_def; static int call_stream_address_gstring(GString *o, struct packet_stream *ps, enum stream_address_format format) { int len, ret; @@ -656,7 +655,6 @@ static void call_ng_process_flags(struct sdp_ng_flags *out, bencode_item_t *inpu out->trust_address = trust_address_def; out->dtls_passive = dtls_passive_def; - out->pad_crypto = pad_crypto_def; call_ng_flags_list(out, input, "flags", call_ng_flags_flags, NULL); call_ng_flags_list(out, input, "replace", call_ng_flags_replace, NULL); diff --git a/daemon/main.c b/daemon/main.c index 2282c7d84..3b3fce06b 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -513,7 +513,6 @@ static void options(int *argc, char ***argv) { if (!sip_source) trust_address_def = 1; - pad_crypto_def = 0; rtpe_config.cpu_limit = max_cpu * 100; rtpe_config.load_limit = max_load * 100; } diff --git a/include/call_interfaces.h b/include/call_interfaces.h index bbc594570..7eca1027d 100644 --- a/include/call_interfaces.h +++ b/include/call_interfaces.h @@ -76,7 +76,6 @@ struct sdp_ng_flags { extern int trust_address_def; extern int dtls_passive_def; -extern int pad_crypto_def; str *call_request_tcp(char **); str *call_lookup_tcp(char **);