mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Remove trailing semicolon from EIGEN_UNUSED_VARIABLE macro
libeigen/eigen!2301 Closes #3007 Co-authored-by: Pavel Guzenfeld <67074795+PavelGuzenfeld@users.noreply.github.com>
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
e0b8498eef
commit
a0e30732a7
@@ -1051,7 +1051,7 @@ template <typename T>
|
||||
EIGEN_DEVICE_FUNC constexpr void ignore_unused_variable(const T&) {}
|
||||
} // namespace internal
|
||||
} // namespace Eigen
|
||||
#define EIGEN_UNUSED_VARIABLE(var) Eigen::internal::ignore_unused_variable(var);
|
||||
#define EIGEN_UNUSED_VARIABLE(var) Eigen::internal::ignore_unused_variable(var)
|
||||
|
||||
#if !defined(EIGEN_ASM_COMMENT)
|
||||
#if EIGEN_COMP_GNUC && (EIGEN_ARCH_i386_OR_x86_64 || EIGEN_ARCH_ARM_OR_ARM64 || EIGEN_ARCH_RISCV)
|
||||
|
||||
@@ -267,7 +267,7 @@ EIGEN_DEVICE_FUNC inline void* aligned_realloc(void* ptr, std::size_t new_size,
|
||||
|
||||
void* result;
|
||||
#if (EIGEN_DEFAULT_ALIGN_BYTES == 0) || EIGEN_MALLOC_ALREADY_ALIGNED
|
||||
EIGEN_UNUSED_VARIABLE(old_size)
|
||||
EIGEN_UNUSED_VARIABLE(old_size);
|
||||
|
||||
check_that_malloc_is_allowed();
|
||||
EIGEN_USING_STD(realloc)
|
||||
|
||||
Reference in New Issue
Block a user