diff options
Diffstat (limited to 'src/H5Vprivate.h')
-rw-r--r-- | src/H5Vprivate.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/H5Vprivate.h b/src/H5Vprivate.h index 870b415..f0cda44 100644 --- a/src/H5Vprivate.h +++ b/src/H5Vprivate.h @@ -81,10 +81,8 @@ H5V_vector_reduce_product(size_t n, const size_t *v) { size_t ans = 1; - if (n && !v) - return 0; - while (n--) - ans *= *v++; + if (n && !v) return 0; + while (n--) ans *= *v++; return ans; } |