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