Libmv: Fix strict compiler warnings, unused variables
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 9 May 2017 08:16:42 +0000 (10:16 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 9 May 2017 08:16:42 +0000 (10:16 +0200)
intern/libmv/libmv/autotrack/predict_tracks.cc

index adc986a0033cef38d6de3a64022853b9397ab52b..3786c1b9a3ba2f6e6022de82e8176b27ca98fb58 100644 (file)
@@ -66,6 +66,7 @@ const double velocity_state_transition_data[] = {
   0,  0,       0,  0,  0,        1
 };
 
+#if 0
 // This 3rd-order system also models acceleration. This makes for "jerky"
 // predictions, but that tend to be more accurate.
 const double acceleration_state_transition_data[] = {
@@ -87,6 +88,7 @@ const double angular_state_transition_data[] = {
   0,  0,       0,  0,  1,        0,   // Velocity y
   0,  0,       0,  0,  0,        1    // Ignored
 };
+#endif
 
 const double* state_transition_data = velocity_state_transition_data;