Re: [chrony-dev] [PATCH] Drop return after LOG_FATAL |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [PATCH] Drop return after LOG_FATAL
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 12 Apr 2021 09:45:57 +0200
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618213562; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KD0VaI+cuwLEU+iAW3K0qYFcVObJ5m6t0B9I6nQj+bQ=; b=R76PZWzc3oYBi7wB6xTx8qZjKR2O4oMSFX3jbJk/o+P6XQvYjAJrl8nUgWFn1EUkDMt1yX QPNTQLtNBW6OAz6oNFqfUUoH76+Q/mqCd/Psg+/kSfYP1Yw93LU0ZjDzurOmB5fn5hqCHA 3wpMRgQETzSydLi7qqE8pQzaxF/j0Ck=
On Fri, Apr 09, 2021 at 08:12:27AM +0200, Uwe Kleine-König wrote:
> The LOG_FATAL macro expands to (emitting the message and then) exit(1).
> So a return after LOG_FATAL isn't reached. Drop all those to simplify
> the code a bit.
Applied. Thanks.
--
Miroslav Lichvar
--
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.