diff options
author | midipix <writeonce@midipix.org> | 2024-02-17 21:00:11 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-17 21:00:11 +0000 |
commit | 5ade200ee5f4c86795c0edb00242d71a3b8764f5 (patch) | |
tree | 5e0f48b71e3dc0b183b31d4dae9218e747e1962a /src/arbits/output/slbt_ar_output_mapfile.c | |
parent | 874b595d141abd86bf5253ca835471c828b4e8be (diff) | |
download | slibtool-5ade200ee5f4c86795c0edb00242d71a3b8764f5.tar.bz2 slibtool-5ade200ee5f4c86795c0edb00242d71a3b8764f5.tar.xz |
code base: legacy toolchain accommodation: initialize _all_ struct members.
Diffstat (limited to 'src/arbits/output/slbt_ar_output_mapfile.c')
-rw-r--r-- | src/arbits/output/slbt_ar_output_mapfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/output/slbt_ar_output_mapfile.c b/src/arbits/output/slbt_ar_output_mapfile.c index ab85394..f2c2a9b 100644 --- a/src/arbits/output/slbt_ar_output_mapfile.c +++ b/src/arbits/output/slbt_ar_output_mapfile.c @@ -25,7 +25,7 @@ static int slbt_ar_output_mapfile_impl( const char ** symv; const char ** symstrv; regex_t regctx; - regmatch_t pmatch[2] = {0}; + regmatch_t pmatch[2] = {{0,0},{0,0}}; fsort = !(dctx->cctx->fmtflags & SLBT_OUTPUT_ARCHIVE_NOSORT); |