summaryrefslogtreecommitdiffstats
path: root/osdep/terminal-win.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-27 17:38:49 +0200
committerwm4 <wm4@nowhere>2017-06-27 18:08:56 +0200
commitdd87ce6f4b201a9e6d258f6b101abb2f47bcb40f (patch)
tree12bfd6e10ee0c63197d72c4347e42b8c0c02c440 /osdep/terminal-win.c
parent5cd7b1c8a6c1bcd6eba3f710812ca544f71fdf5d (diff)
downloadmpv-dd87ce6f4b201a9e6d258f6b101abb2f47bcb40f.tar.bz2
mpv-dd87ce6f4b201a9e6d258f6b101abb2f47bcb40f.tar.xz
terminal: remove unused return value
Diffstat (limited to 'osdep/terminal-win.c')
-rw-r--r--osdep/terminal-win.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/osdep/terminal-win.c b/osdep/terminal-win.c
index 5ec3f8b0d2..3b3a3ea935 100644
--- a/osdep/terminal-win.c
+++ b/osdep/terminal-win.c
@@ -285,7 +285,7 @@ bool terminal_try_attach(void)
return true;
}
-int terminal_init(void)
+void terminal_init(void)
{
CONSOLE_SCREEN_BUFFER_INFO cinfo;
DWORD cmode = 0;
@@ -295,5 +295,4 @@ int terminal_init(void)
SetConsoleMode(hSTDERR, cmode);
GetConsoleScreenBufferInfo(hSTDOUT, &cinfo);
stdoutAttrs = cinfo.wAttributes;
- return 0;
}