diff options
author | bmribler <39579120+bmribler@users.noreply.github.com> | 2023-09-25 17:40:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 17:40:50 (GMT) |
commit | bab0671b109c9476fc48aefe54602a187e042aab (patch) | |
tree | aafc0450c379d75fc26bd7205432f9749c7e17ae /src/H5FDs3comms.c | |
parent | de95c024f4d2831978d38f16cf1ad40095f1e619 (diff) | |
download | hdf5-bab0671b109c9476fc48aefe54602a187e042aab.zip hdf5-bab0671b109c9476fc48aefe54602a187e042aab.tar.gz hdf5-bab0671b109c9476fc48aefe54602a187e042aab.tar.bz2 |
Fixed GH-3554 (#3584)
Removed the extra condition
Diffstat (limited to 'src/H5FDs3comms.c')
-rw-r--r-- | src/H5FDs3comms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDs3comms.c b/src/H5FDs3comms.c index 7c5ff1d..9d6d30a 100644 --- a/src/H5FDs3comms.c +++ b/src/H5FDs3comms.c @@ -2756,7 +2756,7 @@ H5FD_s3comms_trim(char *dest, char *s, size_t s_len, size_t *n_written) /* Find first non-whitespace character from start; * reduce total length per character. */ - while ((s_len > 0) && isspace((unsigned char)s[0]) && s_len > 0) { + while (s_len > 0 && isspace((unsigned char)s[0])) { s++; s_len--; } |