Commit e36c541
cmake: enable Wextra
Primarily these warnings fall into two categories:
- Unused parameter (that clang-tidy didn't catch).
- Mismatch sign comparison. Generally this happens in loops, and the
correct fix is `auto i = 0u`. This gives `i` the type of `unsigned`,
and so we must be careful that `i` cannot overflow 2^32.
Wextra is disabled when building third_party code.1 parent 8d6aec8 commit e36c541
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
0 commit comments