Static analyzer fixes:

Removes unused code in OS.
Fixes return types.
Fixes few typos.
This commit is contained in:
bruvzg
2020-12-08 20:58:49 +02:00
parent 90bdba576a
commit 644f739660
27 changed files with 25 additions and 85 deletions

View File

@ -447,7 +447,6 @@ void LightmapperRD::_create_acceleration_structures(RenderingDevice *rd, Size2i
if (cell != last_cell) {
//cell changed, update pointer to indices
giw[cell * 2 + 1] = i;
last_cell = cell;
solidw[cell] = true;
}
tiw[i] = triangle_sort[i].triangle_index;