Skip to content

Commit cc956f5

Browse files
committed
rc-eventlog: Remove unnecessary snprintf
1 parent 69d1b04 commit cc956f5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/librc/rc-eventlog.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ static char *format_timestamp(void)
6868
tm->tm_gmtoff / 3600, (labs(tm->tm_gmtoff) % 3600) / 60);
6969

7070
return result;
71-
snprintf(buf, len, "%s.%03d%+03ld%02ld", timebuf, ms,
72-
tm->tm_gmtoff / 3600, (labs(tm->tm_gmtoff) % 3600) / 60);
7371
}
7472

7573
/*

0 commit comments

Comments
 (0)