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:
parent
89b72ce045
commit
003929c0d5
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue