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
Please register or sign in to comment