Re: [SR-Users] 5.4 compiler warning

2020-07-14 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Should be fixed now. What OS/compiler you use that reports such warning? > My clang doesn't do it ... I'm using Debian 10 with C compiler gcc 8.3.0. -- Juha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kama

[SR-Users] 5.4 compiler warning

2020-07-14 Thread Juha Heinanen
Got this when building 5.4; CC (gcc) [sip-proxy]core/dset.o core/dset.c: In function 'uri_trim_rcv_alias': core/dset.c:1042:6: warning: variable 'proto' set but not used [-Wunused-but-set-variable] int proto; ^ -- Juha ___ Kama

Re: [SR-Users] 5.4 compiler warning

2020-07-14 Thread Daniel-Constantin Mierla
Should be fixed now. What OS/compiler you use that reports such warning? My clang doesn't do it ... Cheers, Daniel On 14.07.20 11:13, Juha Heinanen wrote: > Got this when building 5.4; > > CC (gcc) [sip-proxy] core/dset.o > core/dset.c: In function 'uri_trim_rcv_alias': > core/dset.c:104