diff options
author | Michael Forney <mforney@mforney.org> | 2021-10-03 02:22:09 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-10-03 02:22:09 -0700 |
commit | 6764a38d863103f6ca66bb05fbbe2be2225f973e (patch) | |
tree | 3da51ff6892069ee46f2ffacfd3f4903b1f9adfe /test/const-expr-shr.qbe | |
parent | ac369afb858c399ba05638eb115ad69d58f42b95 (diff) |
util: Don't error on NULL from malloc if requested size was 0
It is implementation-defined whether malloc returns NULL or some
pointer when the size is 0, so we don't want to error out if the
implementation chose NULL.
Diffstat (limited to 'test/const-expr-shr.qbe')
0 files changed, 0 insertions, 0 deletions