mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2026-01-07 16:05:28 +01:00
If zeroing memory is implemented through libc call (like memset_bzero), compiler should never remove such call. It is not needed to set O0 optimization flag explicitly. Various checkers like annocheck causes problems with these flags, just remove it where it makes no sense. (Moreover, we use the same pattern without compiler magic in crypt_backend_memzero() already.)