Re: [chrony-dev] [Git][chrony/chrony][master] 2 commits: ntp: initialize network correction of transmitted packets |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [Git][chrony/chrony][master] 2 commits: ntp: initialize network correction of transmitted packets
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Wed, 8 Nov 2023 08:35:15 +1300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smtpservice.net; i=@smtpservice.net; q=dns/txt; s=a1-4; t=1699385751; h=feedback-id : x-smtpcorp-track : date : message-id : to : subject : from : reply-to : sender : list-unsubscribe; bh=bSikB4niqmlVQOU5CNL7C0LXoLW9Mc8Ls4OLd2dsymI=; b=YK3cuzevpPsNxAng/raIBv8FVFXxtDDRcGHxVMPJ/9+bxfTD+0RZ+BMSQ/3wsqL2RBFlw 82pi9Mq8j9X4xSQq4to1Tcp8KiPE8n2vb+StKFKJLT9ehhuoa6GwjmrJ1QkLL8nikBxUEmA l5CV3C8AOXygYidsQG7zOgfMSk3L4DDmCf6kTLH7feKx/KbGCc0cAEQv6gh3bVI3Db9a6cu KqZaJMJUndgw73MmzQInKH5yU887AMElI+rgwQmkaeZJkRtiNbAYodgBvaSMFy9Y5rXfUqz 6OGnfJi4bl413kwHJVMoyqULC43gtMo0sjI3fWxUs+7Vv+U9fIgyJcoKPSqg==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whatroute.net; i=@whatroute.net; q=dns/txt; s=s149811; t=1699385751; h=from : subject : to : message-id : date; bh=bSikB4niqmlVQOU5CNL7C0LXoLW9Mc8Ls4OLd2dsymI=; b=AiMvLTXbUYYQuwexltoB5QeevJ215hNR+csF2CHRYfE24pCN1162vdzgaou7esiUe4V/5 remx+EBmag3hJwMoMbpi7W5lMR7WUu74kF3zez+NwAf8/rVIDk7fmkFlDa/dQfXU9s6QGzM RDWX7v56eqgjUPX7iGqzJ3gX0vbqPrzhj0sNyzPtpy00/F0LI0FxXyhd4ZHJs4oHfgrwb4l koHqTKO6Eth9bBV2fU8c0HYfxhbC+9FDCOYD/ZXsnOOD1FQtaNmRs5VLMZa2I+cR50ST2yZ bvkMWpp5bZMgnb7cjT68y3vI5U7+iwyhvUo9RLrcJ7lV/kALB41HBeGQj9xw==
Getting a compiler warning on macOS
gcc -O2 -g -fstack-protector-strong --param=ssp-buffer-size=4 -Wmissing-prototypes -Wall -pthread -c logging.c
logging.c:72:19: warning: unused variable 'severity_chars' [-Wunused-const-variable]
static const char severity_chars[LOGS_FATAL - LOGS_DEBUG + 1] = {'D', 'I', 'W', 'E', 'F'};
^
1 warning generated.
% gcc --version
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: x86_64-apple-darwin22.6.0
> On 8/11/2023, at 03:49, Miroslav Lichvar (@mlichvar) <gitlab@xxxxxxxxxxxxx> wrote:
>
> Miroslav Lichvar pushed to branch master at chrony / chronyCommits:
> • 51a621bc
> by Miroslav Lichvar at 2023-11-02T12:53:00+01:00 ntp: initialize network correction of transmitted packets
>
> Initialize the unused value of network correction parsed from
> own transmitted packets to avoid a use-of-uninitialized-value error
> in NIO_UnwrapMessage() reported by clang.
>
> Fixes: 6372a9f93f59 ("ntp: save PTP correction from NTP-over-PTP messages")
>
> • f6f1863f
> by Luke Valenta at 2023-11-07T15:43:57+01:00 logging: add log severity to file log prefix when debug is enabled
>
> 2 changed files:
> • logging.c
> • ntp_io_linux.c
>
> —
> View it on GitLab.
> You're receiving this email because of your account on gitlab.com. Manage all notifications · Help
Bryan Christianson
bryan@xxxxxxxxxxxxx
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.