From: Arnaud Giersch Date: Fri, 23 Mar 2018 14:20:13 +0000 (+0100) Subject: Kill unused function. X-Git-Tag: v3.20~652 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0b0ce8f8932710dcc7de9cfee4ae8a0f93eb4310 Kill unused function. --- diff --git a/src/instr/instr_config.cpp b/src/instr/instr_config.cpp index d449cc70a5..fb4d44d80b 100644 --- a/src/instr/instr_config.cpp +++ b/src/instr/instr_config.cpp @@ -411,19 +411,3 @@ void TRACE_help (int detailed) " time consuming, since it must get the route from each host to other hosts\n" " within the same Autonomous System (AS).", detailed); } - -static void output_types (const char *name, xbt_dynar_t types, FILE *file) -{ - unsigned int i; - fprintf (file, " %s = (", name); - for (i = xbt_dynar_length(types); i > 0; i--) { - char *type = *(static_cast(xbt_dynar_get_ptr(types, i - 1))); - fprintf (file, "\"%s\"", type); - if (i - 1 > 0){ - fprintf (file, ","); - }else{ - fprintf (file, ");\n"); - } - } - xbt_dynar_free (&types); -}