diff options
author | 2010-06-08 15:52:00 +0200 | |
---|---|---|
committer | 2010-06-08 15:52:00 +0200 | |
commit | 4c5778d29da3ddb21b3f1c64b8179571c7ba8847 (patch) | |
tree | 467023b7c1fdd44d724c6ed70fd8aa47a6a0a9e3 /Eigen/src/Core/util/Memory.h | |
parent | 2a64fa49475b64a7c7bcd560359d5f67180322e3 (diff) |
Made the supression of unused variables portable.
EIGEN_UNUSED is not supported on non GCC systems.
Diffstat (limited to 'Eigen/src/Core/util/Memory.h')
-rw-r--r-- | Eigen/src/Core/util/Memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index 6b202dbc8..c67b9774f 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -218,7 +218,7 @@ inline void ei_aligned_free(void *ptr) **/ inline void* ei_aligned_realloc(void *ptr, size_t new_size, size_t old_size) { - (void)old_size; // Suppress 'unused variable' warning. Seen in boost tee. + EIGEN_UNUSED_VARIABLE(old_size); void *result; #if !EIGEN_ALIGN |