From 7732c30c1d133a817a448d3adce2b79b6c1f9ba8 Mon Sep 17 00:00:00 2001 From: francescomani Date: Fri, 13 Mar 2026 16:44:26 +0100 Subject: [PATCH] moving unused check to upper folder in openair2 --- openair2/CMakeLists.txt | 1 + openair2/E1AP/CMakeLists.txt | 1 - openair2/F1AP/CMakeLists.txt | 1 - openair2/LAYER2/CMakeLists.txt | 1 - 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/openair2/CMakeLists.txt b/openair2/CMakeLists.txt index 36186e8ade..8d1238c3e5 100644 --- a/openair2/CMakeLists.txt +++ b/openair2/CMakeLists.txt @@ -1,5 +1,6 @@ # SPDX-License-Identifier: LicenseRef-CSSL-1.0 +add_compile_options(-Wunused-parameter) add_subdirectory(E1AP) if(E2_AGENT) add_subdirectory(E2AP) diff --git a/openair2/E1AP/CMakeLists.txt b/openair2/E1AP/CMakeLists.txt index ed2942e3f2..ea7647e57f 100644 --- a/openair2/E1AP/CMakeLists.txt +++ b/openair2/E1AP/CMakeLists.txt @@ -1,6 +1,5 @@ # SPDX-License-Identifier: LicenseRef-CSSL-1.0 -add_compile_options(-Wunused-parameter) add_subdirectory(MESSAGES) add_subdirectory(lib) diff --git a/openair2/F1AP/CMakeLists.txt b/openair2/F1AP/CMakeLists.txt index bf38ec70e5..fc9d451f5b 100644 --- a/openair2/F1AP/CMakeLists.txt +++ b/openair2/F1AP/CMakeLists.txt @@ -1,6 +1,5 @@ # SPDX-License-Identifier: LicenseRef-CSSL-1.0 -add_compile_options(-Wunused-parameter) add_subdirectory(lib) add_subdirectory(MESSAGES) diff --git a/openair2/LAYER2/CMakeLists.txt b/openair2/LAYER2/CMakeLists.txt index 1c325288a8..d93e781891 100644 --- a/openair2/LAYER2/CMakeLists.txt +++ b/openair2/LAYER2/CMakeLists.txt @@ -1,6 +1,5 @@ # SPDX-License-Identifier: LicenseRef-CSSL-1.0 -add_compile_options(-Wunused-parameter) add_subdirectory(nr_rlc) add_subdirectory(nr_pdcp) add_subdirectory(NR_MAC_UE)