]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
declaration after statement
authorMichael Jerris <mike@jerris.com>
Mon, 30 Apr 2007 20:58:59 +0000 (20:58 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 30 Apr 2007 20:58:59 +0000 (20:58 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5045 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_xml.c

index d1580b6701060c75bc2df12fd4d6e402838cb985..d1b4dfad3060e1a189f31bdae264f47b96abf311 100644 (file)
@@ -1175,8 +1175,8 @@ SWITCH_DECLARE(switch_status_t) switch_xml_locate(const char *section,
 
 SWITCH_DECLARE(switch_status_t) switch_xml_locate_domain(char *domain_name, char *params, switch_xml_t *root, switch_xml_t *domain)
 {
-       *domain = NULL;
        char my_params[512];
+       *domain = NULL;
 
        if (!params) {
                snprintf(my_params, sizeof(my_params), "domain=%s", domain_name);