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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-03-13 15:47:47 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-03-13 15:50:41 +0300
commitffa29194bbe71147871cf2948ae0f1eea3a4558b (patch)
tree4f874211449739a0fd5b0aa433908655d7ced986 /source/blender/blenkernel/intern/undo_system.c
parentd555f6a4abc50ab7fbf5ecd9d85965aeef0f4335 (diff)
Fix use of uninitialized variable in undo system.
Diffstat (limited to 'source/blender/blenkernel/intern/undo_system.c')
-rw-r--r--source/blender/blenkernel/intern/undo_system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/undo_system.c b/source/blender/blenkernel/intern/undo_system.c
index c9d629c4e19..448fe6cb167 100644
--- a/source/blender/blenkernel/intern/undo_system.c
+++ b/source/blender/blenkernel/intern/undo_system.c
@@ -858,7 +858,7 @@ static bool undosys_ID_map_lookup_index(const UndoIDPtrMap *map, const void *key
const UndoIDPtrMapItem *pmap = map->pmap;
const uint len = map->len;
if (len == 0) {
- if (*r_index) {
+ if (r_index) {
*r_index = 0;
}
return false;