From c8dc935912f54e47e0c82082dc693feccf95198a Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Tue, 18 Aug 2020 16:38:44 +0200
Subject: [PATCH] core: add EIGENPY_UNUSED_VARIABLE macro

---
 include/eigenpy/fwd.hpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/eigenpy/fwd.hpp b/include/eigenpy/fwd.hpp
index 50a796e4..506a1d93 100644
--- a/include/eigenpy/fwd.hpp
+++ b/include/eigenpy/fwd.hpp
@@ -22,6 +22,8 @@
 
 #define EIGENPY_NO_ALIGNMENT_VALUE Eigen::Unaligned
 
+#define EIGENPY_UNUSED_VARIABLE(var) (void)(var)
+
 #include "eigenpy/expose.hpp"
 
 namespace eigenpy
-- 
GitLab