diff options
author | Thomas Capricelli <orzel@freehackers.org> | 2010-05-21 02:05:25 +0200 |
---|---|---|
committer | Thomas Capricelli <orzel@freehackers.org> | 2010-05-21 02:05:25 +0200 |
commit | c1d005e976af679ed52291fd549d7c9370f2672f (patch) | |
tree | 1758ff58552e5ed8a095d1c4c4ed85b73083e403 /Eigen/src/Core/util/Macros.h | |
parent | 742bbdfa574675c3288da902280e457ec8fe5359 (diff) |
introduce a new macro EIGEN_ARG_UNUSED(arg) and use it in some places to
silent some warnings (from clang)
Diffstat (limited to 'Eigen/src/Core/util/Macros.h')
-rw-r--r-- | Eigen/src/Core/util/Macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 787182444..9b277128c 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -172,6 +172,8 @@ #define EIGEN_UNUSED #endif +#define EIGEN_ARG_UNUSED(x) (void)x; + #if (defined __GNUC__) #define EIGEN_ASM_COMMENT(X) asm("#"X) #else |