Silence an unused variable warning.

This commit is contained in:
Danny Robson 2012-06-18 16:13:08 +10:00
parent c023ecdcec
commit cf246cd097

View File

@ -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] });