mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-21 14:22:38 +02:00
refactor: add [[noreturn]] attribute where applicable
This commit is contained in:
parent
89b72ce045
commit
003929c0d5
@ -1766,7 +1766,7 @@ static constexpr char LockCommand = 'L';
|
|||||||
static constexpr char UnlockCommand = 'U';
|
static constexpr char UnlockCommand = 'U';
|
||||||
static constexpr char ExitCommand = 'X';
|
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;
|
char ch;
|
||||||
while (true) {
|
while (true) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user