From 642dddcce29269f266d35e34d34ee83d99a7c116 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Thu, 15 Dec 2016 17:16:56 +0100 Subject: Fix nonnull-compare warning --- test/geo_alignedbox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/geo_alignedbox.cpp') diff --git a/test/geo_alignedbox.cpp b/test/geo_alignedbox.cpp index d2339a651..eca292f4c 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) -- cgit v1.2.3