summaryrefslogtreecommitdiff
path: root/libgfortran/generated/minval_i2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/minval_i2.c')
-rw-r--r--libgfortran/generated/minval_i2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/minval_i2.c b/libgfortran/generated/minval_i2.c
index b4e8dd55667..3de9f023b5b 100644
--- a/libgfortran/generated/minval_i2.c
+++ b/libgfortran/generated/minval_i2.c
@@ -128,7 +128,7 @@ minval_i2 (gfc_array_i2 * const restrict retarray,
count[n] = 0;
dstride[n] = GFC_DESCRIPTOR_STRIDE(retarray,n);
if (extent[n] <= 0)
- len = 0;
+ return;
}
base = array->data;