FS-7966: fix more msvc 2015 warnings.

This commit is contained in:
Mike Jerris committed 2015-08-31 17:08:52 -04:00
1 parent 4b8587a863
commit 5c59a0159d
30 files changed
+79 -66

No files matched your search

@@ -161,7 +161,7 @@ static int load_config(int reloading)
lp = new_list;
for (param = switch_xml_child(list, "node"); param; param = param->next) {
char *name = (char *) switch_xml_attr_soft(param, "name");
char *name_attr = (char *) switch_xml_attr_soft(param, "name");
char *weight_val = (char *) switch_xml_attr_soft(param, "weight");
int tmp;
@@ -171,7 +171,7 @@ static int load_config(int reloading)
}
switch_zmalloc(node, sizeof(*node));
node->name = strdup(name);
node->name = strdup(name_attr);
node->wval = tmp;
if (np) {