Skip to content

Commit a6d9d30

Browse files
committed
Fix warning in check_cxx_source_compiles
1 parent 3d02be0 commit a6d9d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcapt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include(CheckCXXSourceCompiles)
33
check_cxx_source_compiles("
44
#include <bit>
55
int main() {
6-
std::byteswap(123);
6+
[[maybe_unused]] int a = std::byteswap(123);
77
return 0;
88
}
99
" HAVE_BYTESWAP)

0 commit comments

Comments
 (0)