diff options
| author | George Burgess IV <gbiv@google.com> | 2017-07-18 16:28:28 -0700 |
|---|---|---|
| committer | George Burgess IV <gbiv@google.com> | 2017-07-18 17:21:28 -0700 |
| commit | fa4eaa63caae8eefa3ca6eba9830be747eb32cd0 (patch) | |
| tree | a1eb9e77cf90dc3795728577b6a1fca0b711c812 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 1ad8903bb6f8c7f4b77e71f73cb0ea2aa9db2576 (diff) | |
Appease the static analyzer
Since the static analyzer assumes that
`head == blockToRemove && blockToRemove->prevBlock == nullptr` may be
true, it complains that we're deleting `head` and returning `head`
shortly afterward.
Assert (without assertions, since -DNDEBUG is passed) that this isn't
the case.
Bug: 27101951
Test: mma. Warning is gone.
Change-Id: I33e98eec7b293fcf0d8826f89c287a3b870758f2
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
