new compiler warning

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

new compiler warning

Juha Heinanen
Today when building K 5.0 on Debian Jessie, I got this compiler warning
that I don't remember seeing before:

CC (gcc) [M domain.so] domain.o
domain.c: In function 'w_lookup_domain':
domain.c:222:5: warning: 'prefix' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(prefix)
     ^

-- Juha

_______________________________________________
Kamailio (SER) - Development Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: new compiler warning

Daniel-Constantin Mierla-6
Fixed now.

Cheers,
Daniel


On 15.06.17 14:26, Juha Heinanen wrote:

> Today when building K 5.0 on Debian Jessie, I got this compiler warning
> that I don't remember seeing before:
>
> CC (gcc) [M domain.so] domain.o
> domain.c: In function 'w_lookup_domain':
> domain.c:222:5: warning: 'prefix' may be used uninitialized in this function [-Wmaybe-uninitialized]
>    if(prefix)
>      ^
>
> -- Juha
>
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> [hidden email]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


_______________________________________________
Kamailio (SER) - Development Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: new compiler warning

Juha Heinanen
Daniel-Constantin Mierla writes:

> Fixed now.

OK, thanks, Juha

_______________________________________________
Kamailio (SER) - Development Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Loading...