aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorLode Willems <Lode.Willems@UGent.be>2020-12-18 12:02:27 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2020-12-18 12:02:28 +0530
commit59d572ef613252281e31f867099c43f098319ad7 (patch)
tree52ac375c457d6d103fd12909b126d693579018dd /sysdeps/unix/sysv/linux
parent2ec40e66adffe8162a263aadd5e5c56fc79955d0 (diff)
downloadglibc-59d572ef613252281e31f867099c43f098319ad7.zip
glibc-59d572ef613252281e31f867099c43f098319ad7.tar.gz
glibc-59d572ef613252281e31f867099c43f098319ad7.tar.bz2
getenv: Move call to strlen to the branch it's used in.
The len variable is only used in the else branch. We don't need the call to strlen if the name is 0 or 1 characters long. 2019-10-02 Lode Willems <Lode.Willems@UGent.be> * tdlib/getenv.c: Move the call to strlen into the branch it's used.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
0 files changed, 0 insertions, 0 deletions