Index: components/crash/content/app/breakpad_linux.cc |
diff --git a/components/crash/content/app/breakpad_linux.cc b/components/crash/content/app/breakpad_linux.cc |
index 077007919c2bb2afde6b2a7196bd2052036df0c1..fa9f620e3f7e2e3d8cbebd0e5736aac939807882 100644 |
--- a/components/crash/content/app/breakpad_linux.cc |
+++ b/components/crash/content/app/breakpad_linux.cc |
@@ -76,7 +76,7 @@ |
// where we either a) know the call cannot fail, or b) there is nothing we |
// can do when a call fails, we mark the return code as ignored. This avoids |
// spurious compiler warnings. |
-#define IGNORE_RET(x) do { if (x); } while (0) |
+#define IGNORE_RET(x) ignore_result(x) |
using crash_reporter::GetCrashReporterClient; |
using google_breakpad::ExceptionHandler; |