[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 Sat May 27 06:45:54 CDT 2017 using JIRA 7.3.3#73014-sha1:d5be8da522213be2ca9ad7b043c51da6e4cc9754.