diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-27 06:50:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-27 06:50:37 +0300 |
commit | b9e10273e0412f357698462247d595d54043234e (patch) | |
tree | 919a8b29e80cac05c643154c5010d02ac7c7ffa9 /source/blender | |
parent | 7af560438966c5b3f7a0203fefd8bbad80d201c9 (diff) |
Cleanup: warnings
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/anim_sys.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_file/space_file.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c index 3a34a31b57e..eea71d52ab6 100644 --- a/source/blender/blenkernel/intern/anim_sys.c +++ b/source/blender/blenkernel/intern/anim_sys.c @@ -289,7 +289,7 @@ bool BKE_animdata_id_is_animated(const struct ID *id) return false; } - AnimData *adt = BKE_animdata_from_id(id); + const AnimData *adt = BKE_animdata_from_id((ID *)id); if (adt == NULL) { return false; } diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index 7c464cda7a8..17f5a5f7fa0 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -173,7 +173,7 @@ static void file_free(SpaceLink *sl) } /* spacetype; init callback, area size changes, screen set, etc */ -static void file_init(wmWindowManager *wm, ScrArea *sa) +static void file_init(wmWindowManager *UNUSED(wm), ScrArea *sa) { SpaceFile *sfile = (SpaceFile *)sa->spacedata.first; |