commit | 27b8cb7bb6ba85ca0a903f02c7d38b9f24636af7 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Sun Feb 21 15:44:27 2021 -0800 |
committer | George Burgess IV <gbiv@google.com> | Mon Feb 22 18:24:28 2021 +0000 |
tree | 0ed8f3d153064fe8de058a5e206329cddc98a8fd | |
parent | fedff519e0bab2702cbf1ea271cbcb89eeeb52a3 [diff] |
dexoptanalyzer: fix a potential use of nullptr If oat_file is nullptr here, we can't `GetLocation()` on it. unsure if there's more descriptive context to add here. Caught by the static analyzer: > art/dexoptanalyzer/dexoptanalyzer.cc:375:47: warning: Called C++ object pointer is null [clang-analyzer-core.CallAndMessage] Bug: None Test: TreeHugger Change-Id: Icdae5de4a4e4ff82ad03a247c53fc9583afdfa5d