Re: [chrony-users] libchrony patch

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


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@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/