diff options
author | Seth Jackson <sethjackson@gmail.com> | 2015-12-21 14:46:02 -0500 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2015-12-22 13:50:59 -0500 |
commit | efb30a00688b380205904fd6e2cac6f0b557f5e1 (patch) | |
tree | 9629d644776e927d57f02eee9c30f7e54b00638e /src | |
parent | ee1f8eab0c157ea0d820d321411c0d25c5351c40 (diff) | |
download | rneovim-efb30a00688b380205904fd6e2cac6f0b557f5e1.tar.gz rneovim-efb30a00688b380205904fd6e2cac6f0b557f5e1.tar.bz2 rneovim-efb30a00688b380205904fd6e2cac6f0b557f5e1.zip |
Windows: Remove unused function #3878
The only call site was removed in 902ad8d.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/if_cscope.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c index 3585c26ca2..b78dfdca11 100644 --- a/src/nvim/if_cscope.c +++ b/src/nvim/if_cscope.c @@ -1146,22 +1146,6 @@ static void clear_csinfo(size_t i) csinfo[i].to_fp = NULL; } -#ifndef UNIX -static char *GetWin32Error(void) -{ - char *msg = NULL; - FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM, - NULL, GetLastError(), 0, (LPSTR)&msg, 0, NULL); - if (msg != NULL) { - /* remove trailing \r\n */ - char *pcrlf = strstr(msg, "\r\n"); - if (pcrlf != NULL) - *pcrlf = '\0'; - } - return msg; -} -#endif - /* * PRIVATE: cs_insert_filelist * |