From 65a6d41510cd2d8a20d6d94dee8e0955899d8dc4 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Thu, 15 Dec 2016 17:16:56 +0100 Subject: [PATCH] Fix nonnull-compare warning (grafted from 642dddcce29269f266d35e34d34ee83d99a7c116 ) --- test/geo_alignedbox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/geo_alignedbox.cpp b/test/geo_alignedbox.cpp index b64ea3bdc..4cf51aafb 100644 --- a/test/geo_alignedbox.cpp +++ b/test/geo_alignedbox.cpp @@ -15,8 +15,9 @@ #include using namespace std; +// TODO not sure if this is actually still necessary anywhere ... template EIGEN_DONT_INLINE -void kill_extra_precision(T& x) { eigen_assert((void*)(&x) != (void*)0); } +void kill_extra_precision(T& ) { } template void alignedbox(const BoxType& _box)