mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-21 11:22:20 +00:00
delinted
SCCS-file: zdump.c SCCS-SID: 7.3
This commit is contained in:
committed by
Paul Eggert
parent
a37b9f16f9
commit
e9be4758e7
5
zdump.c
5
zdump.c
@ -270,9 +270,10 @@ abbr(tmp)
|
|||||||
struct tm * tmp;
|
struct tm * tmp;
|
||||||
{
|
{
|
||||||
register char * result;
|
register char * result;
|
||||||
|
static char nada[1];
|
||||||
|
|
||||||
if (tmp->tm_isdst != 0 && tmp->tm_isdst != 1)
|
if (tmp->tm_isdst != 0 && tmp->tm_isdst != 1)
|
||||||
return "";
|
return nada;
|
||||||
result = tzname[tmp->tm_isdst];
|
result = tzname[tmp->tm_isdst];
|
||||||
return (result == NULL) ? "" : result;
|
return (result == NULL) ? nada : result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user