Remove unused code
This commit is contained in:
parent
e2c13d1188
commit
a73bb0ffc0
@ -35,7 +35,6 @@ pub fn try_init() -> Result<(), ()> {
|
|||||||
let mut state: DWORD = 0;
|
let mut state: DWORD = 0;
|
||||||
let mut ret: Result<(), _> = Ok(());
|
let mut ret: Result<(), _> = Ok(());
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut e: DWORD = 0;
|
|
||||||
if GetConsoleMode(console_out, &mut state) == 0 {
|
if GetConsoleMode(console_out, &mut state) == 0 {
|
||||||
ret = Err(());
|
ret = Err(());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user