Commit 5f826f3
committed
Resolve -Wtautological-undefined-compare when building with clang
Comparing 'this' to 'nullptr' will always evaluate to false. clang and gcc optimize away the check entirely, removing the checks silences the warnings. https://clang.llvm.org/docs/DiagnosticsReference.html#wtautological-undefined-compare1 parent e00c4a7 commit 5f826f3
1 file changed
Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9312 | 9312 | | |
9313 | 9313 | | |
9314 | 9314 | | |
9315 | | - | |
9316 | | - | |
9317 | | - | |
9318 | | - | |
9319 | | - | |
9320 | 9315 | | |
9321 | 9316 | | |
9322 | 9317 | | |
| |||
9461 | 9456 | | |
9462 | 9457 | | |
9463 | 9458 | | |
9464 | | - | |
9465 | | - | |
9466 | | - | |
9467 | | - | |
9468 | | - | |
9469 | 9459 | | |
9470 | 9460 | | |
9471 | 9461 | | |
| |||
9526 | 9516 | | |
9527 | 9517 | | |
9528 | 9518 | | |
9529 | | - | |
9530 | | - | |
9531 | | - | |
9532 | | - | |
9533 | | - | |
9534 | 9519 | | |
9535 | 9520 | | |
9536 | 9521 | | |
| |||
0 commit comments