diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-31 07:01:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-31 07:01:18 +0400 |
commit | 65c74f1570b845ea3be9fc17bec2655392ca38f8 (patch) | |
tree | 99a01970ce33e2520ff2b874a30d02cc818e2550 /source/blender/blenkernel | |
parent | 1d152c77a52e01913f2c448d194611ec76ab7c74 (diff) |
workaround for error building with clang and quiet some warnings building without libmv.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/tracking.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c index 6eeae07cb1b..5ef0491c03c 100644 --- a/source/blender/blenkernel/intern/tracking.c +++ b/source/blender/blenkernel/intern/tracking.c @@ -1682,7 +1682,8 @@ int BKE_tracking_can_reconstruct(MovieTracking *tracking, MovieTrackingObject *o return 1; #else BLI_strncpy(error_msg, "Blender is compiled without motion tracking library", error_size); - (void) tracking; + (void)tracking; + (void)object; return 0; #endif @@ -2274,6 +2275,7 @@ void BKE_tracking_detect_fast(MovieTracking *tracking, ListBase *tracksbase, ImB libmv_destroyFeatures(features); #else (void)tracking; + (void)tracksbase; (void)ibuf; (void)framenr; (void)margin; |