Module: kamailio
Branch: master
Commit: f6232ee6d5d7fed67b6510c8c5ab8e7f6273274e
URL:
https://github.com/kamailio/kamailio/commit/f6232ee6d5d7fed67b6510c8c5ab8e7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-01-22T11:57:05+01:00
sctp: removed unused goto label
---
Modified: src/modules/sctp/sctp_server.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f6232ee6d5d7fed67b6510c8c5ab8e7…
Patch:
https://github.com/kamailio/kamailio/commit/f6232ee6d5d7fed67b6510c8c5ab8e7…
---
diff --git a/src/modules/sctp/sctp_server.c b/src/modules/sctp/sctp_server.c
index 0e0b6eab97..66c71b7889 100644
--- a/src/modules/sctp/sctp_server.c
+++ b/src/modules/sctp/sctp_server.c
@@ -797,9 +797,6 @@ static int sctp_init_sock_opt_common(int s, int af)
sctp_err++;
goto error; /* critical */
}
-#ifdef __OS_linux
-ev_success:
-#endif
#else
#error no sctp lib support for SCTP_EVENTS, consider upgrading
#endif /* SCTP_EVENTS */