Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Functions RngStream must be XBT_PUBLIC for dll
[simgrid.git] / src / instr / instr_config.c
index 717cb5a..2916d57 100644 (file)
@@ -461,9 +461,6 @@ void TRACE_generate_triva_cat_conf (void)
 {
   char *output = TRACE_get_triva_cat_conf();
   if (output && strlen(output) > 0){
-    xbt_dict_cursor_t cursor=NULL, cursor2=NULL;
-    char *name, *name2, *value, *value2;
-
     //check if we do have categories declared
     if (xbt_dict_is_empty(created_categories)){
       XBT_INFO("No categories declared, ignoring generation of triva graph configuration");
@@ -487,14 +484,14 @@ void TRACE_generate_triva_cat_conf (void)
     //configuration for all nodes
     fprintf (file,
              "  host = {\n"
-             "    type = square;\n"
-             "    size = power;\n");
+             "    type = \"square\";\n"
+             "    size = \"power\";\n");
     output_categories ("p", TRACE_get_categories(), file);
     fprintf (file,
              "  };\n"
              "  link = {\n"
-             "    type = rhombus;\n"
-             "    size = bandwidth;\n");
+             "    type = \"rhombus\";\n"
+             "    size = \"bandwidth\";\n");
     output_categories ("b", TRACE_get_categories(), file);
     fprintf (file, "  };\n");
     //close