summaryrefslogtreecommitdiff
path: root/src/os_w32exe.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-01 13:43:36 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-01 13:43:36 +0100
commit1266d678bf2ed5072cca9381409536406f8d7b32 (patch)
tree77b5147921fbb1564b30e05c0a446d39b84ec0c8 /src/os_w32exe.c
parent7c23d1d9d9cc1d3d19fe35708da7c5d5b3556e05 (diff)
downloadvim-git-1266d678bf2ed5072cca9381409536406f8d7b32.tar.gz
patch 8.0.0281: some files are still using ARGSUSED instead of UNUSEDv8.0.0281
Problem: MS-Windows files are still using ARGSUSED while most other files have UNUSED. Solution: Change ARGSUSED to UNUSED or delete it.
Diffstat (limited to 'src/os_w32exe.c')
-rw-r--r--src/os_w32exe.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/os_w32exe.c b/src/os_w32exe.c
index d7fd2a71b..3beca193d 100644
--- a/src/os_w32exe.c
+++ b/src/os_w32exe.c
@@ -38,13 +38,12 @@ void _cdecl SaveInst(HINSTANCE hInst);
static void (_cdecl *pSaveInst)(HINSTANCE);
#endif
-/*ARGSUSED*/
int WINAPI
WinMain(
- HINSTANCE hInstance,
- HINSTANCE hPrevInst,
+ HINSTANCE hInstance UNUSED,
+ HINSTANCE hPrevInst UNUSED,
LPSTR lpszCmdLine,
- int nCmdShow)
+ int nCmdShow UNUSED)
{
int argc = 0;
char **argv;