Commit 6d3a4d14 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fix defined but not used function if srtp is disabled in tester

parent b52710c4
...@@ -215,6 +215,7 @@ static void copy_paste_text_longer_than_rtt_buffer(void) { ...@@ -215,6 +215,7 @@ static void copy_paste_text_longer_than_rtt_buffer(void) {
text_stream_tester_destroy(margaux); text_stream_tester_destroy(margaux);
} }
#ifdef HAVE_SRTP
static void srtp_protected_text_stream(void) { static void srtp_protected_text_stream(void) {
text_stream_tester_t* marielle = text_stream_tester_new(); text_stream_tester_t* marielle = text_stream_tester_new();
text_stream_tester_t* margaux = text_stream_tester_new(); text_stream_tester_t* margaux = text_stream_tester_new();
...@@ -250,6 +251,7 @@ static void srtp_protected_text_stream(void) { ...@@ -250,6 +251,7 @@ static void srtp_protected_text_stream(void) {
text_stream_tester_destroy(marielle); text_stream_tester_destroy(marielle);
text_stream_tester_destroy(margaux); text_stream_tester_destroy(margaux);
} }
#endif
static test_t tests[] = { static test_t tests[] = {
{ "Basic text stream: copy paste short text", basic_text_stream }, { "Basic text stream: copy paste short text", basic_text_stream },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment