summaryrefslogtreecommitdiff
path: root/Tests/LibJS
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2022-12-18 09:03:08 -0700
committerAndreas Kling <kling@serenityos.org>2022-12-20 11:04:05 +0100
commit4ed5520e3e72e0e953533a0f76e1c5758a614b73 (patch)
treedf35d37ea832368aa9da47ca51331a0836c94a2a /Tests/LibJS
parent0d813ee51927f201b9738cfe63174cce42a49603 (diff)
downloadserenity-4ed5520e3e72e0e953533a0f76e1c5758a614b73.zip
ntpquery: Explicitly zero initialize msghdr and fill in fields
Rather than trying to use designated initializers, zero init the msghdr variable and fill in its fields. This makes sure to zero-init any padding bytes, and fixes a compilation error on musl-libc based systems.
Diffstat (limited to 'Tests/LibJS')
0 files changed, 0 insertions, 0 deletions