summaryrefslogtreecommitdiff
path: root/src/arbits/output/slbt_ar_output_mapfile.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-17 21:00:11 +0000
committermidipix <writeonce@midipix.org>2024-02-17 21:00:11 +0000
commit5ade200ee5f4c86795c0edb00242d71a3b8764f5 (patch)
tree5e0f48b71e3dc0b183b31d4dae9218e747e1962a /src/arbits/output/slbt_ar_output_mapfile.c
parent874b595d141abd86bf5253ca835471c828b4e8be (diff)
downloadslibtool-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.c2
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);