diff options
author | George Zhao <zhaozg@gmail.com> | 2018-01-17 21:25:46 +0800 |
---|---|---|
committer | George Zhao <zhaozg@gmail.com> | 2018-01-19 13:01:30 +0800 |
commit | 82adba0f2f24378b4cbd7504488c90f4260cfaf7 (patch) | |
tree | ef32d1146d8433fb0c9244efa03641e3767008d2 | |
parent | e76c6e2ee8b8a064f1f2a48e3638be6ca07f2f2a (diff) | |
download | rneovim-82adba0f2f24378b4cbd7504488c90f4260cfaf7.tar.gz rneovim-82adba0f2f24378b4cbd7504488c90f4260cfaf7.tar.bz2 rneovim-82adba0f2f24378b4cbd7504488c90f4260cfaf7.zip |
Fix for lint
-rw-r--r-- | src/nvim/strings.c | 5 | ||||
-rw-r--r-- | src/nvim/tui/input.c | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c index 7ad61fd29c..e3f6a8cbf6 100644 --- a/src/nvim/strings.c +++ b/src/nvim/strings.c @@ -50,11 +50,6 @@ #include "nvim/os/shell.h" #include "nvim/eval/encode.h" -/* - * Fix warning on mingw32 and mingw64 - * make isnan as _isnan - * fpclassify is used by isinf, so redefine it - */ #ifdef __MINGW32__ # undef fpclassify # define fpclassify __fpclassify diff --git a/src/nvim/tui/input.c b/src/nvim/tui/input.c index d64c630cf9..b04a6ce4f9 100644 --- a/src/nvim/tui/input.c +++ b/src/nvim/tui/input.c @@ -49,7 +49,9 @@ void term_input_init(TermInput *input, Loop *loop) #ifdef WIN32 uv_tty_init(&loop->uv, &input->tty_in, 0, 1); uv_tty_set_mode(&input->tty_in, UV_TTY_MODE_RAW); - rstream_init_stream(&input->read_stream, (uv_stream_t *)&input->tty_in, 0xfff); + rstream_init_stream(&input->read_stream, + (uv_stream_t *)&input->tty_in, + 0xfff); #else rstream_init_fd(loop, &input->read_stream, input->in_fd, 0xfff); #endif |