commit | f5e1533f2f19327f60723b5326c122b81066f2db | [log] [tgz] |
---|---|---|
author | zijunzhao <zijunzhao@google.com> | Fri Mar 03 01:33:28 2023 +0000 |
committer | zijunzhao <zijunzhao@google.com> | Wed Mar 08 02:40:09 2023 +0000 |
tree | 66361d6b17cb5195a8ce99630fb222eb3b643b5e | |
parent | 42908c45e56fa31b2de8404ca7eb1b34d60156db [diff] [blame] |
Suppress the error warning Bug: https://android-build.googleplex.com/builds/pending/P51300433/aosp_bramble-userdebug/latest/view/logs/build_error.log Test: None Change-Id: I2fbd3d8772c50ed9de1c2ba9eb2234966c7dcb84
diff --git a/debuggerd/crasher/crasher.cpp b/debuggerd/crasher/crasher.cpp index 4eb7382..4043a6e 100644 --- a/debuggerd/crasher/crasher.cpp +++ b/debuggerd/crasher/crasher.cpp
@@ -159,7 +159,8 @@ } noinline void fprintf_null() { - fprintf(nullptr, "oops"); + FILE* sneaky_null = nullptr; + fprintf(sneaky_null, "oops"); } noinline void readdir_null() {