diff options
| author | Jim Meyering <meyering@redhat.com> | 2008-11-30 22:37:42 +0100 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2008-12-01 21:18:52 +0100 |
| commit | c58b5daa337b16416be50adfeb3e99e3c009c891 (patch) | |
| tree | ed91dec7768322eb9f09427036069239b210f562 /src/ls.c | |
| parent | * bootstrap.conf (gnulib_modules): Add argv-iter. (diff) | |
| download | coreutils-c58b5daa337b16416be50adfeb3e99e3c009c891.tar.gz coreutils-c58b5daa337b16416be50adfeb3e99e3c009c891.zip | |
avoid warnings about initialization of automatic aggregates
* src/system.h (DZA_CONCAT0, DZA_CONCAT): New macros.
(DECLARE_ZEROED_AGGREGATE): New macro.
* src/ls.c (quote_name): Use it.
* src/pathchk.c (portable_chars_only): Use it.
* src/shred.c (main): Use it.
* src/stty.c (main): Use it.
* src/wc.c (SUPPORT_OLD_MBRTOWC): Use it.
Diffstat (limited to 'src/ls.c')
| -rw-r--r-- | src/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3721,7 +3721,7 @@ quote_name (FILE *out, const char *name, struct quoting_options const *options, reach its end, replacing each non-printable multibyte character with a single question mark. */ { - mbstate_t mbstate = { 0, }; + DECLARE_ZEROED_AGGREGATE (mbstate_t, mbstate); do { wchar_t wc; |
