summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2023-02-21 11:07:43 -0300
committerGeorge Marques <george@gmarqu.es>2023-02-21 11:12:45 -0300
commit0866e6af2d16c48c8e3dcfd6c0b78974f2c11043 (patch)
tree1af9866f3d3c9627c5775ea41df87219377007f0 /core/os
parent7e79aead99a53ee7cdf383add9a6a2aea4f15beb (diff)
GDScript: Avoid validated division operation to test for zero
The validated operations for integer division and modulo do not check for division by zero. This avoids validated operation in these cases to make sure the check is performed and avoid crashing the engine.
Diffstat (limited to 'core/os')
0 files changed, 0 insertions, 0 deletions