[FS-9812] Configure with --disable-srtp fails build Created: 04/Dec/16  Updated: 05/Dec/16  Resolved: 05/Dec/16

Status: Resolved
Project: FreeSWITCH
Component/s: core
Affects Version/s: 1.6
Fix Version/s: 1.8
Security Level: public

Type: Bug Priority: Minor
Reporter: St├ęphane Alnet Assignee: Mike Jerris
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Debian

CPU Architecture:
x86-64
Kernel:
Linux
Userland:
GNU/Linux
Distribution:
Debian
Distribution Version:
Debian sid/unstable
Compiler:
gcc
FreeSWITCH GIT Revision: 2af53f5a3079fcabdce1b9ccd1cd1ccc2463c02d
GIT Master Revision hash:: 2af53f5a3079fcabdce1b9ccd1cd1ccc2463c02d

 Description   
This is similar to FS-8571, but I suppose the environment must have changed; the `goto end` is found when using `ENABLE_SRTP` or `ENABLE_ZRTP`.

Error is:

```
src/switch_rtp.c: In function 'switch_rtp_write_raw':
src/switch_rtp.c:8424:2: error: label 'end' defined but not used [-Werror=unused-label]
  end:
  ^~~
cc1: all warnings being treated as errors
```

Generated at Wed Feb 22 17:09:02 EST 2017 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.