Do not expose timestamp-format 'none' option

Do not expose the 'none' timestamp-format option. It is and internal
state used when timestamp is disabled.
This commit is contained in:
Martin Lund 2022-07-05 17:34:45 +02:00
parent d598fa76a7
commit 683aab1dc7
2 changed files with 2 additions and 9 deletions

View file

@ -53,6 +53,7 @@ char *current_time(void)
switch (option.timestamp)
{
case TIMESTAMP_NONE:
return NULL;
case TIMESTAMP_24HOUR:
// "hh:mm:ss.sss" (24 hour format)
tv = tv_now;