Cleanup unused return value (was making coverity sad).
authorBastien Montagne <montagne29@wanadoo.fr>
Tue, 16 Aug 2016 16:22:03 +0000 (18:22 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Tue, 16 Aug 2016 16:22:03 +0000 (18:22 +0200)
source/blender/blenlib/intern/array_store.c

index 6000c1a680c29ec302ae0f5ec62e57988a82c39b..21ddddad32ee6fb0e6ed365d0c15aba74c46a5b8 100644 (file)
@@ -579,7 +579,7 @@ static void bchunk_list_calc_trim_len(
 /**
  * Append and don't manage merging small chunks.
  */
-static bool bchunk_list_append_only(
+static void bchunk_list_append_only(
         BArrayMemory *bs_mem,
         BChunkList *chunk_list, BChunk *chunk)
 {
@@ -588,7 +588,6 @@ static bool bchunk_list_append_only(
        cref->link = chunk;
        chunk_list->chunk_refs_len += 1;
        chunk->users += 1;
-       return chunk;
 }
 
 /**