Skip to content

Commit a1fa76b

Browse files
authored
Do not suppress 'unreferenced formal parameter' MSVC warning (C4100) (#377)
1 parent 3a402ca commit a1fa76b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmake/configure.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ if( MSVC )
7373
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_COMPILER_FLAGS}")
7474
endif()
7575
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}")
76-
set(COMMON_FLAGS "/W4 /wd4267 /wd4244 /wd4100")
76+
set(COMMON_FLAGS "/W4 /wd4267 /wd4244")
7777
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${COMMON_FLAGS}" )
7878
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${COMMON_FLAGS}")
7979
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMMON_FLAGS}" )

tasks/all/runner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class UnreadMessagesDetector : public ::testing::EmptyTestEventListener {
1414
public:
1515
UnreadMessagesDetector() = default;
1616

17-
void OnTestEnd(const ::testing::TestInfo& test_info) override {
17+
void OnTestEnd(const ::testing::TestInfo& /*test_info*/) override {
1818
int rank = -1;
1919
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
2020

tasks/mpi/runner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class UnreadMessagesDetector : public ::testing::EmptyTestEventListener {
1111
public:
1212
UnreadMessagesDetector() = default;
1313

14-
void OnTestEnd(const ::testing::TestInfo& test_info) override {
14+
void OnTestEnd(const ::testing::TestInfo& /*test_info*/) override {
1515
int rank = -1;
1616
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
1717

0 commit comments

Comments
 (0)