diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-08-01 19:02:49 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-08-01 19:02:49 +0000 |
commit | 73480eccc6fadd5ee5a4a1fe51f33d69b442550a (patch) | |
tree | ec6dedd1465151bf7d3fdf112957a3b4ae7ec277 /lib/libarchive | |
parent | b1d859658754073f196a6b8593a049206eeee655 (diff) | |
download | FreeBSD-src-73480eccc6fadd5ee5a4a1fe51f33d69b442550a.zip FreeBSD-src-73480eccc6fadd5ee5a4a1fe51f33d69b442550a.tar.gz |
C standard does not permit empty initializer list.
Thanks to: Stefan Farfeleder
Diffstat (limited to 'lib/libarchive')
-rw-r--r-- | lib/libarchive/archive_write_set_format_ustar.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libarchive/archive_write_set_format_ustar.c b/lib/libarchive/archive_write_set_format_ustar.c index 9e49596..13436cf 100644 --- a/lib/libarchive/archive_write_set_format_ustar.c +++ b/lib/libarchive/archive_write_set_format_ustar.c @@ -77,7 +77,7 @@ struct archive_entry_header_ustar { * A filled-in copy of the header for initialization. */ static const struct archive_entry_header_ustar template_header = { - { }, /* name */ + { "" }, /* name */ { "000000" }, { ' ', '\0' }, /* mode, space-null termination. */ { "000000" }, { ' ', '\0' }, /* uid, space-null termination. */ { "000000" }, { ' ', '\0' }, /* gid, space-null termination. */ @@ -85,15 +85,15 @@ static const struct archive_entry_header_ustar template_header = { { "00000000000" }, { ' ' }, /* mtime, space termination. */ { " " }, /* Initial checksum value. */ { '0' }, /* default: regular file */ - { }, /* linkname */ + { "" }, /* linkname */ { "ustar" }, /* magic */ { '0', '0' }, /* version */ - { }, /* uname */ - { }, /* gname */ + { "" }, /* uname */ + { "" }, /* gname */ { "000000" }, { ' ', '\0' }, /* rdevmajor, space-null termination */ { "000000" }, { ' ', '\0' }, /* rdevminor, space-null termination */ - { }, /* prefix */ - { } /* padding */ + { "" }, /* prefix */ + { "" } /* padding */ }; static int archive_write_ustar_data(struct archive *a, const void *buff, |