Skip to content

Commit 141d21c

Browse files
committed
restore 3 lines of duplicated code since no single warning suppression in code appears to make all compilers and compiler versions happy at the same time
1 parent d2ceb2f commit 141d21c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/dbshow.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,9 @@ int showalert(const char *interface, const AlertOutput output, const AlertExit e
10161016
case AT_Hour:
10171017
strftime(datebuff, DATEBUFFLEN, "%H", localtime(&datalist->timestamp));
10181018
printf("%s of ", datebuff);
1019+
strftime(datebuff, DATEBUFFLEN, cfg.dformat, localtime(&datalist->timestamp));
1020+
printf("%s", datebuff);
1021+
break;
10191022
case AT_Day:
10201023
strftime(datebuff, DATEBUFFLEN, cfg.dformat, localtime(&datalist->timestamp));
10211024
printf("%s", datebuff);

0 commit comments

Comments
 (0)