From 18d383f503e4a29dfb2524e6c58aa724d94159a0 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Mon, 2 Dec 2024 09:18:47 -0500 Subject: [PATCH 1/2] Add an entry in the HISTORY for #413. --- HISTORY.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 324400bd4..ac89f46a4 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,7 @@ ### ensmallen ?.??.?: "???" ###### ????-??-?? + * Remove unused variables to fix compiler warnings + ([#413](https://github.com/mlpack/ensmallen/pull/413)). ### ensmallen 2.22.0: "E-Bike Excitement" ###### 2024-11-29 From 052f58e6bb6b08da4c7e10ef49e3e2b576301a19 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Mon, 2 Dec 2024 13:28:28 -0500 Subject: [PATCH 2/2] Simplify compilation options to also work on gcc. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4839e4f25..cf71f43ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,7 @@ target_include_directories(ensmallen INTERFACE if(MSVC) target_compile_options(ensmallen INTERFACE $) else() - target_compile_options(ensmallen INTERFACE $) + target_compile_options(ensmallen INTERFACE $) endif() # Find OpenMP and link it.