[OpenSIPS-Devel] [OpenSIPS/opensips] 7ae82f: emergency module refactoring -- dividing in smalle...

Bogdan-Andrei Iancu bogdan at opensips.org
Sun Mar 1 14:18:52 CET 2015


OK, fixed !

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 01.03.2015 13:52, Bogdan-Andrei Iancu wrote:
> Hi Ovidiu,
> I will check and have them fixed asap.
>
> Thanks for report,
> Bogdan
>
>
> Sent from Samsung Mobile
>
>
> -------- Original message --------
> From: Ovidiu Sas
> Date:28/02/2015 20:02 (GMT+01:00)
> To: root ,OpenSIPS devel mailling list
> Subject: Re: [OpenSIPS-Devel] [OpenSIPS/opensips] 7ae82f: emergency 
> module refactoring -- dividing in smalle...
>
> There are some warnings while compiling this module:
> make[1]: Entering directory `/usr/local/src/opensips/modules/emergency'
> Compiling emergency_methods.c
> Compiling http_emergency.c
> Compiling post_curl.c
> Compiling report_emergency.c
> report_emergency.c: In function âget_db_routingâ:
> report_emergency.c:363:27: warning: variable âidâ set but not used
> [-Wunused-but-set-variable]
>      int nr_rows, i, size, id;
>                            ^
> Compiling sip_emergency.c
> In file included from emergency_methods.h:62:0,
>                  from emergency_methods.c:32:
> model.h:30:69: warning: backslash-newline at end of file [enabled by 
> default]
> const char *MODEL = "<esrRequest xmlns=\"urn:nena:xml:ns:es:v2\" \n \
> ^
> sip_emergency.c: In function âget_ip_socketâ:
> sip_emergency.c:313:5: warning: implicit declaration of function
> âget_sock_info_listâ [-Wimplicit-function-declaratio
>          n]
>      list = get_sock_info_list(msg->rcv.proto);
>      ^
> sip_emergency.c:313:10: warning: assignment makes pointer from integer
> without a cast [enabled by default]
>      list = get_sock_info_list(msg->rcv.proto);
>           ^
> Compiling xml_parser.c
> In file included from ../../parser/../ip_addr.h:47:0,
>                  from ../../parser/msg_parser.h:50,
>                  from ../../sr_module.h:50,
>                  from emergency_methods.h:32,
>                  from emergency_methods.c:32:
> emergency_methods.c: In function âindialog_uaâ:
> ../../parser/../dprint.h:311:11: warning: âxmlâ may be used
> uninitialized in this function [-Wmaybe-uninitialized]
>      dprint( _prefix LOG_PREFIX _fmt, dp_time(), \
>            ^
> emergency_methods.c:1283:11: note: âxmlâ was declared here
>      char* xml;
>            ^
> Linking emergency.so
> make[1]: Leaving directory `/usr/local/src/opensips/modules/emergency'
>
> On Tue, Feb 24, 2015 at 7:31 PM, root <root at localhost.localdomain> wrote:
> >   Branch: refs/heads/master
> >   Home:   https://github.com/OpenSIPS/opensips
> >   Commit: 7ae82f6c246e81b9ef64c60df8cfd2dbc6dbf5e4
> > 
> https://github.com/OpenSIPS/opensips/commit/7ae82f6c246e81b9ef64c60df8cfd2dbc6dbf5e4
> >   Author: root <root at localhost.localdomain>
> >   Date:   2015-02-21 (Sat, 21 Feb 2015)
> >
> >   Changed paths:
> >     M modules/emergency/emergency_methods.c
> >     M modules/emergency/emergency_methods.h
> >     A modules/emergency/http_emergency.c
> >     A modules/emergency/http_emergency.h
> >     M modules/emergency/model.h
> >     M modules/emergency/post_curl.c
> >     M modules/emergency/post_curl.h
> >     A modules/emergency/report_emergency.c
> >     A modules/emergency/report_emergency.h
> >     A modules/emergency/sip_emergency.c
> >     A modules/emergency/sip_emergency.h
> >     M modules/emergency/xml_parser.c
> >     M modules/emergency/xml_parser.h
> >
> >   Log Message:
> >   -----------
> >   emergency module refactoring -- dividing in smaller C files
> >
> >
> >   Commit: 3f9ed17a1529a63b5dc97d6d5dcaaf04a74d44ec
> > 
> https://github.com/OpenSIPS/opensips/commit/3f9ed17a1529a63b5dc97d6d5dcaaf04a74d44ec
> >   Author: root <root at localhost.localdomain>
> >   Date:   2015-02-24 (Tue, 24 Feb 2015)
> >
> >   Changed paths:
> >     M parser/contact/contact.c
> >
> >   Log Message:
> >   -----------
> >   Merge branch 'master' of github.com:OpenSIPS/opensips
> >
> >
> > Compare: 
> https://github.com/OpenSIPS/opensips/compare/608de671240b...3f9ed17a1529
> > _______________________________________________
> > Devel mailing list
> > Devel at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> >
>
>
>
> -- 
> VoIP Embedded, Inc.
> http://www.voipembedded.com
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150301/90386654/attachment-0001.htm>


More information about the Devel mailing list