- } else { // Should have got my trace file in argument
- xbt_assert1(argc>=2,
- "No '%s' agent function provided, no simulation-wide trace file provided to MSG_action_trace_run(), "
- "and no process-wide trace file provided in deployment file. Aborting.",argv[0]
- );
-
- char *line = NULL;
- size_t line_len = 0;
- FILE *fp = fopen(argv[1], "r");
- xbt_assert2(fp != NULL, "Cannot open %s: %s", argv[1], strerror(errno));
-
- ssize_t read;
+ } else { // Should have got my trace file in argument
+ xbt_assert1(argc >= 2,
+ "No '%s' agent function provided, no simulation-wide trace file provided to MSG_action_trace_run(), "
+ "and no process-wide trace file provided in deployment file. Aborting.",
+ argv[0]
+ );
+
+ fp = fopen(argv[1], "r");
+ xbt_assert2(fp != NULL, "Cannot open %s: %s", argv[1],
+ strerror(errno));
+