We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cfdda2 commit b82c55aCopy full SHA for b82c55a
src/random.cpp
@@ -39,10 +39,10 @@
39
#include <openssl/err.h>
40
#include <openssl/rand.h>
41
42
-static void RandFailure()
+[[noreturn]] static void RandFailure()
43
{
44
LogPrintf("Failed to read randomness, aborting\n");
45
- abort();
+ std::abort();
46
}
47
48
static inline int64_t GetPerformanceCounter()
src/test/test_bitcoin_main.cpp
@@ -10,14 +10,14 @@
10
11
std::unique_ptr<CConnman> g_connman;
12
13
-void Shutdown(void* parg)
+[[noreturn]] void Shutdown(void* parg)
14
15
- exit(EXIT_SUCCESS);
+ std::exit(EXIT_SUCCESS);
16
17
18
-void StartShutdown()
+[[noreturn]] void StartShutdown()
19
20
21
22
23
bool ShutdownRequested()
0 commit comments