Skip to content

Commit

Permalink
remove useless cast
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Jul 30, 2024
1 parent 0c70993 commit c5c8e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/AwsCheckHeaders.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function(aws_check_headers_internal target std is_cxx)
# MSVC complains about windows' own header files. Use /W4 instead of /Wall
target_compile_options(${HEADER_CHECKER_LIB} PRIVATE /W4 /WX)
else()
target_compile_options(${HEADER_CHECKER_LIB} PRIVATE -Wall -Wextra -Wpedantic -Werror -Wuseless-cast)
target_compile_options(${HEADER_CHECKER_LIB} PRIVATE -Wall -Wextra -Wpedantic -Werror)
endif()

foreach(header IN LISTS ARGN)
Expand Down

0 comments on commit c5c8e25

Please sign in to comment.