Fix most warnings

This commit is contained in:
Pierre Krieger 2016-08-12 17:57:06 +02:00
parent 71e94bb6d1
commit b1add0b12b
3 changed files with 2 additions and 9 deletions

View file

@ -37,7 +37,6 @@ fn check_result(result: winapi::HRESULT) -> Result<(), IoError> {
/// Wrapper because of that stupid decision to remove `Send` and `Sync` from raw pointers.
#[derive(Copy, Clone)]
#[allow(raw_pointer_derive)]
struct IAudioClientWrapper(*mut winapi::IAudioClient);
unsafe impl Send for IAudioClientWrapper {}
unsafe impl Sync for IAudioClientWrapper {}