Commit ae5ddfdd authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot

Merge topic 'vxl-warning-fix'

87e86e13 vxl: fix another unused argument warning
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !199
parents c5b6eab4 87e86e13
diff -u -Nru5 vxl-cmb-git62f6b76/core/vnl/vnl_diag_matrix.h vxl-cmb-git62f6b76.unused-arguments/core/vnl/vnl_diag_matrix.h
--- vxl-cmb-git62f6b76/core/vnl/vnl_diag_matrix.h 2015-04-20 00:01:10.000000000 -0400
+++ vxl-cmb-git62f6b76.unused-arguments/core/vnl/vnl_diag_matrix.h 2016-10-04 09:59:13.635743261 -0400
@@ -91,6 +91,7 @@ class vnl_diag_matrix
//: set element with boundary checks.
inline void put (unsigned r, unsigned c, T const& v) {
+ (void)r; (void)c;
assert(r == c); assert (r<size()); diagonal_[r] = v;
}
diff -u -Nru5 vxl-cmb-git62f6b76/core/vnl/vnl_matrix_fixed.h vxl-cmb-git62f6b76.unused-arguments/core/vnl/vnl_matrix_fixed.h
--- vxl-cmb-git62f6b76/core/vnl/vnl_matrix_fixed.h 2015-04-20 00:01:10.000000000 -0400
+++ vxl-cmb-git62f6b76.unused-arguments/core/vnl/vnl_matrix_fixed.h 2016-10-04 09:59:13.635743261 -0400
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment