]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix for some compile warnings
authorDavid Yat Sin <dyatsin@sangoma.com>
Tue, 12 Jun 2012 22:07:42 +0000 (18:07 -0400)
committerDavid Yat Sin <dyatsin@sangoma.com>
Tue, 12 Jun 2012 22:07:42 +0000 (18:07 -0400)
libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_cli.c

index 6fece294ccd6b05a72101a8649906f8b3c57592f..246aeb232bc69af2cf87c6fa0af4863080920af6 100644 (file)
@@ -3070,13 +3070,13 @@ static ftdm_status_t cli_ss7_show_all_spans_general(ftdm_stream_handle_t *stream
 
 static ftdm_status_t handle_show_m2ua_profiles(ftdm_stream_handle_t *stream)
 {
-       char*  xmlhdr = (char*)"<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>";
+       MwMgmt cfm;
+       MwMgmt rsp;
        char  buf[2048];
+       char*  xmlhdr = (char*)"<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>";
        int x = 0x00;
        int idx = 0x00;
        int len = 0x00;
-       MwMgmt cfm;
-       MwMgmt rsp;
 
        memset((U8 *)&cfm, 0, sizeof(MwMgmt));
        memset((U8 *)&rsp, 0, sizeof(MwMgmt));