Skip to content

Commit a9f4f8d

Browse files
committed
Merge pull request opencv#19022 from alalek:cmake_avoid_duplication_of_winit_self
2 parents 12a36b5 + 6bfb0dd commit a9f4f8d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmake/OpenCVCompilerOptions.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ if(CV_GCC OR CV_CLANG)
120120
add_extra_compiler_option(-Wshadow)
121121
add_extra_compiler_option(-Wsign-promo)
122122
add_extra_compiler_option(-Wuninitialized)
123-
add_extra_compiler_option(-Winit-self)
124123
if(CV_GCC AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 6.0) AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0))
125124
add_extra_compiler_option(-Wno-psabi)
126125
endif()

0 commit comments

Comments
 (0)