From cf246cd097d81250efc93ad50eb047d4f8d0fc6d Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 18 Jun 2012 16:13:08 +1000 Subject: [PATCH] Silence an unused variable warning. --- maths/vector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/maths/vector.cpp b/maths/vector.cpp index ee266caa..a36a9717 100644 --- a/maths/vector.cpp +++ b/maths/vector.cpp @@ -74,6 +74,7 @@ vector vector::cross (const double *restrict A, const double *restrict B, unsigned int size) { CHECK_HARD (size == 3); + (void)size; return vector ({ A[1] * B[2] - A[2] * B[1], A[2] * B[0] - A[0] * B[2], A[0] * B[1] - A[1] * B[0] });