Re: libchrony patch

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <ZLkAJ03MH6qZKOgg@localhost>
On Wed, Jul 19, 2023 at 02:05:47PM -0700, Thangalin wrote:
> index 89633f8..d78e71b 100644
> --- a/message.c
> +++ b/message.c
> @@ -502,6 +502,7 @@ struct timespec get_field_timespec(const Message *msg, int field) {
>  		ts.tv_nsec = ntohl(*(uint32_t *)(data + 8));
>  		break;
>  	default:
> +    break;
>  	}

What problem is this supposed to fix? A break there shouldn't make a
difference in standard C.

Please submit patches to the -devel list.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.