summaryrefslogtreecommitdiffstats
path: root/copy.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2021-07-12 17:39:00 -0700
committerKevin McCarthy <kevin@8t8.us>2021-07-17 15:14:59 -0700
commit1977fbb4584d637c391464fc8cbb17b1e6942b07 (patch)
tree3059d0a07a8dc7fc62fb44f147e49d4066692117 /copy.c
parent2803adb2c6d6cb8d5e911fa8807c9644f3d6a2a1 (diff)
Silence compiler "may be uninitialized" warnings.
For both of these cases, there is no actual bug. But set them to 0 to make the compiler happy.
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/copy.c b/copy.c
index 197bc200..e8f90efc 100644
--- a/copy.c
+++ b/copy.c
@@ -232,7 +232,7 @@ mutt_copy_hdr (FILE *in, FILE *out, LOFF_T off_start, LOFF_T off_end, int flags,
if (flags & CH_REORDER)
{
int match = -1;
- size_t match_len, hdr_order_len;
+ size_t match_len = 0, hdr_order_len;
for (t = HeaderOrderList, x = 0 ; (t) ; t = t->next, x++)
{