This ensures that the memset call is not optimized out by the compiler (works works with gcc and clang).