diff options
author | Jason Evans <jasone@canonware.com> | 2015-02-05 00:41:55 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2015-02-05 00:51:53 (GMT) |
commit | c810fcea1fa7983ef5bcabe6556cdc19dde6dd8d (patch) | |
tree | 2c81f384fe80658347a053d8496bcfd021e24165 /src/rtree.c | |
parent | f500a10b2e94852b867334703ad77467dcfd2ddd (diff) | |
download | jemalloc-c810fcea1fa7983ef5bcabe6556cdc19dde6dd8d.zip jemalloc-c810fcea1fa7983ef5bcabe6556cdc19dde6dd8d.tar.gz jemalloc-c810fcea1fa7983ef5bcabe6556cdc19dde6dd8d.tar.bz2 |
Add (x != 0) assertion to lg_floor(x).
lg_floor(0) is undefined, but depending on compiler options may not
cause a crash. This assertion makes it harder to accidentally abuse
lg_floor().
Diffstat (limited to 'src/rtree.c')
0 files changed, 0 insertions, 0 deletions