Skip to content
Commit 188f463a authored by Halla Rempt's avatar Halla Rempt
Browse files

Remove two asserts.

Two reasons:

In these cases, returning false is better, because the asserts indicate
circumstances that are not caused by faulty code but by issues in the
environment.

And if asserts are not compiled in, calling device() when there is no space
left will return 0, leading to a crash.

REVIEW:122923
BUG:343214
parent 9175940d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment