Removed more warnings.

This commit is contained in:
Hauke Heibel
2009-12-12 14:49:43 +01:00
parent d088ee35f6
commit 3dce51bd8e
7 changed files with 21 additions and 3 deletions

View File

@@ -87,6 +87,7 @@ void construct_at_boundary(int boundary)
_buf += (16 - (_buf % 16)); // make 16-byte aligned
_buf += boundary; // make exact boundary-aligned
T *x = ::new(reinterpret_cast<void*>(_buf)) T;
x[0]; // just in order to silence warnings
x->~T();
}
#endif