Browse Source

Remove unused code

master
Nabil Boutemeur 3 years ago
committed by GitHub
parent
commit
a73bb0ffc0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/lib.rs

1
src/lib.rs

@ -35,7 +35,6 @@ pub fn try_init() -> Result<(), ()> {
let mut state: DWORD = 0;
let mut ret: Result<(), _> = Ok(());
unsafe {
let mut e: DWORD = 0;
if GetConsoleMode(console_out, &mut state) == 0 {
ret = Err(());
}

Loading…
Cancel
Save