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