diff options
author | Karel Zak <kzak@redhat.com> | 2007-06-19 16:42:07 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2007-06-19 16:42:07 +0200 |
commit | 6b9cda90f45bdaeb7b0f7b05c40be3b1d8a94472 (patch) | |
tree | 5b5a2f6970e9bd37f532ca0ed84d006a04b3c9b7 /misc-utils | |
parent | f7e3dc0533d37b56af4afe8cd38212d54ae9fce5 (diff) | |
download | util-linux-old-6b9cda90f45bdaeb7b0f7b05c40be3b1d8a94472.tar.gz |
ddate: fix compiler warnings
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils')
-rw-r--r-- | misc-utils/ddate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc-utils/ddate.c b/misc-utils/ddate.c index c98cd784..1f488aa6 100644 --- a/misc-utils/ddate.c +++ b/misc-utils/ddate.c @@ -295,6 +295,7 @@ struct disc_time makeday(int imonth,int iday,int iyear) /*i for input */ int cal[12] = { 31,28,31,30,31,30,31,31,30,31,30,31 }; int dayspast=0; + memset(&funkychickens,0,sizeof(funkychickens)); /* basic range checks */ if (imonth < 1 || imonth > 12) { funkychickens.season = -1; |