summaryrefslogtreecommitdiff
path: root/libgfortran/generated/pack_i4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/pack_i4.c')
-rw-r--r--libgfortran/generated/pack_i4.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/generated/pack_i4.c b/libgfortran/generated/pack_i4.c
index 45f5d05918b..6642f2b0bc1 100644
--- a/libgfortran/generated/pack_i4.c
+++ b/libgfortran/generated/pack_i4.c
@@ -96,6 +96,9 @@ pack_i4 (gfc_array_i4 *ret, const gfc_array_i4 *array,
dim = GFC_DESCRIPTOR_RANK (array);
+ sstride[0] = 0; /* Avoid warnings if not initialized. */
+ mstride[0] = 0;
+
mptr = mask->base_addr;
/* Use the same loop for all logical types, by using GFC_LOGICAL_1