0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

refactor: add [[noreturn]] attribute where applicable

This commit is contained in:
fanquake 2021-04-07 20:35:31 +08:00
parent 89b72ce045
commit 003929c0d5
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -1766,7 +1766,7 @@ static constexpr char LockCommand = 'L';
static constexpr char UnlockCommand = 'U';
static constexpr char ExitCommand = 'X';
static void TestOtherProcess(fs::path dirname, std::string lockname, int fd)
[[noreturn]] static void TestOtherProcess(fs::path dirname, std::string lockname, int fd)
{
char ch;
while (true) {