Skip to content

Commit 65b6dbe

Browse files
Shane Snyderwkliao
authored andcommitted
remove unnecessary DXT printing code
1 parent 6a31342 commit 65b6dbe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

darshan-util/darshan-dxt-logutils.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ void dxt_log_print_posix_file(void *posix_file_rec, char *file_name,
364364
start_time = io_trace[i].start_time;
365365
end_time = io_trace[i].end_time;
366366
extra_info = io_trace[i].extra_info;
367-
if (*extra_info == '\0') *extra_info = "";
368367

369368
printf("%8s%8" PRId64 "%7s%9d%16" PRId64 "%16" PRId64 "%12.4f%12.4f %s", "X_POSIX", rank, "write", i, offset, length, start_time, end_time, extra_info);
370369

@@ -412,7 +411,6 @@ void dxt_log_print_posix_file(void *posix_file_rec, char *file_name,
412411
start_time = io_trace[i].start_time;
413412
end_time = io_trace[i].end_time;
414413
extra_info = io_trace[i].extra_info;
415-
if (extra_info == NULL) extra_info = "";
416414

417415
printf("%8s%8" PRId64 "%7s%9d%16" PRId64 "%16" PRId64 "%12.4f%12.4f %s", "X_POSIX", rank, "read", (int)(i - write_count), offset, length, start_time, end_time, extra_info);
418416

0 commit comments

Comments
 (0)