Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
comment some dead code marked 'that doesn't work' which raised a unused-but-set-varia...
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 15 Sep 2011 14:38:12 +0000 (16:38 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 15 Sep 2011 14:38:12 +0000 (16:38 +0200)
src/instr/jedule/jedule_sd_binding.c

index 664ea59..8894bb9 100644 (file)
@@ -91,7 +91,7 @@ static void create_hierarchy(routing_component_t current_comp,
 void jedule_setup_platform() {
 
        routing_component_t root_comp;
 void jedule_setup_platform() {
 
        routing_component_t root_comp;
-       e_surf_network_element_type_t type;
+       // e_surf_network_element_type_t type;
 
        jed_simgrid_container_t root_container;
 
 
        jed_simgrid_container_t root_container;
 
@@ -102,7 +102,7 @@ void jedule_setup_platform() {
        XBT_DEBUG("root name %s\n", root_comp->name);
 
        // that doesn't work
        XBT_DEBUG("root name %s\n", root_comp->name);
 
        // that doesn't work
-       type = root_comp->get_network_element_type(root_comp->name);
+       // type = root_comp->get_network_element_type(root_comp->name);
 
        jed_simgrid_create_container(&root_container, root_comp->name);
        jedule->root_container = root_container;
 
        jed_simgrid_create_container(&root_container, root_comp->name);
        jedule->root_container = root_container;