diff options
| author | 251 <[email protected]> | 2018-01-02 01:06:23 +0100 |
|---|---|---|
| committer | 251 <[email protected]> | 2018-01-02 01:06:23 +0100 |
| commit | 6dda059bde0798f54626108beab29d9d3834769c (patch) | |
| tree | 05892e56aef46f9cd812086527e3d6133de4bdc1 /src/httpserver.cpp | |
| parent | Merge #12027: [Docs] Remove boost --c++ flag from osx build instructions (diff) | |
| download | discoin-6dda059bde0798f54626108beab29d9d3834769c.tar.xz discoin-6dda059bde0798f54626108beab29d9d3834769c.zip | |
[qt] Simplifies boolean expression model && model->haveWatchOnly()
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.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions