diff options
| author | Tian Shilin <tianshilin@uniontech.com> | 2024-08-22 16:21:54 +0800 |
|---|---|---|
| committer | Tian Shilin <tianshilin@uniontech.com> | 2024-08-28 08:28:24 +0800 |
| commit | 03c547f1010868a0ef2f236c6980094efab7e12f (patch) | |
| tree | f8f495d1a8c31d2f18310c7b0a1da03b463a8fad /src/opengl/qopengldebug.cpp | |
| parent | 063dad967fbea9649683aa02f457c839e1ab56cb (diff) | |
fix: Redundant condition in isValidBasicType
When isValid is true, it must be true; when isValidis false,
whether the conditional judgment is true ornot only depends
on whether !result is true(eg: A | | (!A && B) is equivalent to A | | B.),
so you can optimize the judgment condition to improve thereadability
of the code.
Pick-to: 6.8
Change-Id: I0231b83e0b50586dff2820b8d0dfc35edec36f70
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/opengl/qopengldebug.cpp')
0 files changed, 0 insertions, 0 deletions
