Skip to content

Commit 003929c

Browse files
committed
refactor: add [[noreturn]] attribute where applicable
1 parent 89b72ce commit 003929c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/util_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ static constexpr char LockCommand = 'L';
17661766
static constexpr char UnlockCommand = 'U';
17671767
static constexpr char ExitCommand = 'X';
17681768

1769-
static void TestOtherProcess(fs::path dirname, std::string lockname, int fd)
1769+
[[noreturn]] static void TestOtherProcess(fs::path dirname, std::string lockname, int fd)
17701770
{
17711771
char ch;
17721772
while (true) {

0 commit comments

Comments
 (0)