commit | cd27ec63c6ae7847655144b3530a144f6820d90a | [log] [tgz] |
---|---|---|
author | Yurii Zubrytskyi <zyy@google.com> | Fri Mar 27 23:10:38 2020 -0700 |
committer | Yurii Zubrytskyi <zyy@google.com> | Fri Mar 27 23:10:38 2020 -0700 |
tree | 3e97d6c47a04c1d23a882d71635bf268cd1efa8c | |
parent | 2627f5a1ab901784f90141d37583cb8047500b5d [diff] |
[dataloader] Fix a mistaken check in a scope guard unique_ptr<> never calls the deleter on a null pointer, so the checking for a non-null makes the whole scope guard a noop. Looks like there was a negation missing there, which makes the whole check redundant. Bug: 152661914 Test: compiles Change-Id: I25fb1d5dd0f4c4366791d64b9ba79549dfd0d93d