From d508b69e44bb3c5911d7716048c28fe0dc5e609b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 16 May 2017 12:46:52 +1000 Subject: Cleanup: gcc7.1 warnings --- source/blender/blenlib/intern/array_store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib') 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; -- cgit v1.2.3