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

Ovidiu Sas osas at voipembedded.com
Sat Feb 28 20:02:07 CET 2015


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



More information about the Devel mailing list