[Bf-blender-cvs] [1bfcc2d] gooseberry: Fix for meaningless build error (no return value, can never happen).
Lukas Tönne
noreply at git.blender.org
Mon Mar 23 13:02:32 CET 2015
Commit: 1bfcc2d0de54b5d6357cec5b3d11fcd34538dfd3
Author: Lukas Tönne
Date: Wed Mar 4 16:13:46 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB1bfcc2d0de54b5d6357cec5b3d11fcd34538dfd3
Fix for meaningless build error (no return value, can never happen).
===================================================================
M source/blender/blenkernel/intern/cache_library.c
===================================================================
diff --git a/source/blender/blenkernel/intern/cache_library.c b/source/blender/blenkernel/intern/cache_library.c
index d0bf244..51fc3f7 100644
--- a/source/blender/blenkernel/intern/cache_library.c
+++ b/source/blender/blenkernel/intern/cache_library.c
@@ -401,6 +401,7 @@ eCacheReadSampleResult BKE_cache_read_result(int ptc_result)
case PTC_READ_SAMPLE_INTERPOLATED: return CACHE_READ_SAMPLE_INTERPOLATED;
default: BLI_assert(false); break; /* should never happen, enums out of sync? */
}
+ return CACHE_READ_SAMPLE_INVALID;
}
static void cache_library_insert_item_hash(CacheLibrary *cachelib, CacheItem *item, bool replace)
More information about the Bf-blender-cvs
mailing list