Mercurial > vim
comparison src/os_w32exe.c @ 10783:04eb70c77cf4 v8.0.0281
patch 8.0.0281: some files are still using ARGSUSED instead of UNUSED
commit https://github.com/vim/vim/commit/1266d678bf2ed5072cca9381409536406f8d7b32
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 1 13:43:36 2017 +0100
patch 8.0.0281: some files are still using ARGSUSED instead of UNUSED
Problem: MS-Windows files are still using ARGSUSED while most other files
have UNUSED.
Solution: Change ARGSUSED to UNUSED or delete it.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 01 Feb 2017 13:45:04 +0100 |
parents | 4aead6a9b7a9 |
children | 639b8318472c |
comparison
equal
deleted
inserted
replaced
10782:9b0e9cdb2aac | 10783:04eb70c77cf4 |
---|---|
36 void _cdecl SaveInst(HINSTANCE hInst); | 36 void _cdecl SaveInst(HINSTANCE hInst); |
37 #endif | 37 #endif |
38 static void (_cdecl *pSaveInst)(HINSTANCE); | 38 static void (_cdecl *pSaveInst)(HINSTANCE); |
39 #endif | 39 #endif |
40 | 40 |
41 /*ARGSUSED*/ | |
42 int WINAPI | 41 int WINAPI |
43 WinMain( | 42 WinMain( |
44 HINSTANCE hInstance, | 43 HINSTANCE hInstance UNUSED, |
45 HINSTANCE hPrevInst, | 44 HINSTANCE hPrevInst UNUSED, |
46 LPSTR lpszCmdLine, | 45 LPSTR lpszCmdLine, |
47 int nCmdShow) | 46 int nCmdShow UNUSED) |
48 { | 47 { |
49 int argc = 0; | 48 int argc = 0; |
50 char **argv; | 49 char **argv; |
51 char *tofree; | 50 char *tofree; |
52 char prog[256]; | 51 char prog[256]; |