aboutsummaryrefslogtreecommitdiff
path: root/tests/errors.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2019-11-03 14:55:48 -0800
committerGarrett D'Amore <garrett@damore.org>2019-11-11 20:59:20 -0800
commit4b87eb768711cc6ed892d0d7b5afa9874b9f5c7b (patch)
tree5a3517d755166f09b53a565dcef81c13d5d2f23a /tests/errors.c
parent21b40e0b51c39a19574c1fe79a48872558189770 (diff)
downloadnng-4b87eb768711cc6ed892d0d7b5afa9874b9f5c7b.tar.gz
nng-4b87eb768711cc6ed892d0d7b5afa9874b9f5c7b.tar.bz2
nng-4b87eb768711cc6ed892d0d7b5afa9874b9f5c7b.zip
fixes #1004 Warning found by clang --analyze
It's possible for an empty chunk to have a NULL data pointer. Even when copying zero bytes, this makes clang somewhat unhappy.
Diffstat (limited to 'tests/errors.c')
0 files changed, 0 insertions, 0 deletions