mirror of https://github.com/bitcoin/bitcoin
The boolean expression model && model->haveWatchOnly() can be simplified to model->haveWatchOnly(), because if (!model || !model->getOptionsModel()) { return; } guards against a potential dereferenced null pointer.pull/12074/head
parent
63a4dc1087
commit
6dda059bde
Loading…
Reference in new issue