]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgfortran/generated/pack_c10.c
Update copyright years.
[thirdparty/gcc.git] / libgfortran / generated / pack_c10.c
index 546b07973fb5489edab3041570c454178b770597..e1cb47d8ff325784c7dd5ee9fe3929aeea88a7bf 100644 (file)
@@ -1,5 +1,5 @@
 /* Specific implementation of the PACK intrinsic
-   Copyright (C) 2002-2016 Free Software Foundation, Inc.
+   Copyright (C) 2002-2024 Free Software Foundation, Inc.
    Contributed by Paul Brook <paul@nowt.org>
 
 This file is part of the GNU Fortran runtime library (libgfortran).
@@ -96,6 +96,9 @@ pack_c10 (gfc_array_c10 *ret, const gfc_array_c10 *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