diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-16 05:46:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-16 05:46:52 +0300 |
commit | d508b69e44bb3c5911d7716048c28fe0dc5e609b (patch) | |
tree | 387a8665c27b58d9248534db93063d3c7b3bc2b1 /source/blender/blenlib/intern/array_store.c | |
parent | 12651aba03c768797cd4bafee5b0e8732e3194c3 (diff) |
Cleanup: gcc7.1 warnings
Diffstat (limited to 'source/blender/blenlib/intern/array_store.c')
-rw-r--r-- | source/blender/blenlib/intern/array_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/array_store.c b/source/blender/blenlib/intern/array_store.c index 295b39c1a2f..5d1b2433084 100644 --- a/source/blender/blenlib/intern/array_store.c +++ b/source/blender/blenlib/intern/array_store.c @@ -878,7 +878,7 @@ static hash_key key_from_chunk_ref( { /* in C, will fill in a reusable array */ BChunk *chunk = cref->link; - BLI_assert(info->accum_read_ahead_bytes * info->chunk_stride); + BLI_assert((info->accum_read_ahead_bytes * info->chunk_stride) != 0); if (info->accum_read_ahead_bytes <= chunk->data_len) { hash_key key; |