Skip to content

Commit 6bfb0dd

Browse files
committed
cmake: avoid duplication of -Winit-self flag
1 parent 12a36b5 commit 6bfb0dd

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)