diff options
Diffstat (limited to 'src/debug/crash/CrashReporter.cpp')
| -rw-r--r-- | src/debug/crash/CrashReporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/crash/CrashReporter.cpp b/src/debug/crash/CrashReporter.cpp index fad6ad21..5b7931f3 100644 --- a/src/debug/crash/CrashReporter.cpp +++ b/src/debug/crash/CrashReporter.cpp @@ -43,7 +43,7 @@ static char const* getRandomMessage() { } [[noreturn]] static inline void exitWithError(char const* err) { - write(STDERR_FILENO, err, strlen(err)); + [[maybe_unused]] auto w = write(STDERR_FILENO, err, strlen(err)); // perror() is not signal-safe, but we use it here // because if the crash-handler already crashed, it can't get any worse. perror(""); |
