Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-08-27 08:33:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-08-27 08:33:33 +0300
commit54b47da56596298a6d880d334a2c403862855ae9 (patch)
treece3fdf7b2d3895436a1f7397ea357b565f9059d6
parent8b8269389858b54052149a576f1a562e18540862 (diff)
Cleanup: clang-format
-rw-r--r--source/blender/blenlib/BLI_array.h2
-rw-r--r--source/blender/blenloader/intern/readfile.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_array.h b/source/blender/blenlib/BLI_array.h
index 88cbbbc5fa6..4e37314ed3e 100644
--- a/source/blender/blenlib/BLI_array.h
+++ b/source/blender/blenlib/BLI_array.h
@@ -117,7 +117,7 @@ void _bli_array_grow_func(void **arr_p,
{ \
if (arr && (char *)arr != _##arr##_static) { \
BLI_array_fake_user(arr); \
- MEM_freeN((void*)arr); \
+ MEM_freeN((void *)arr); \
} \
} \
((void)0)
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index deeffcee39e..304ba87402c 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -1996,10 +1996,8 @@ static void blo_cache_storage_entry_register(ID *id,
}
/** Restore a cache data entry from old ID into new one, when reading some undo memfile. */
-static void blo_cache_storage_entry_restore_in_new(ID *UNUSED(id),
- const IDCacheKey *key,
- void **cache_p, uint flags,
- void *cache_storage_v)
+static void blo_cache_storage_entry_restore_in_new(
+ ID *UNUSED(id), const IDCacheKey *key, void **cache_p, uint flags, void *cache_storage_v)
{
BLOCacheStorage *cache_storage = cache_storage_v;