Skip to content

Commit dc937a4

Browse files
committed
remove old code
1 parent 3b10594 commit dc937a4

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/windows_uwp.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ pub fn getrandom_inner(dest: &mut [u8]) -> Result<(), Error> {
5151
}
5252
_ => (),
5353
}
54-
if let Some(code) = NonZeroU32::new(ret as u32) {
55-
error!("BCryptGenRandom: failed with {}", ret);
56-
return Err(Error::from(code));
57-
}
5854
}
5955
Ok(())
6056
}

0 commit comments

Comments
 (0)