summaryrefslogtreecommitdiff
path: root/src/GvimExt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-07-24 18:51:11 +0000
committerBram Moolenaar <Bram@vim.org>2008-07-24 18:51:11 +0000
commite6a91fd99467f5259d675047760088efcbaf050e (patch)
tree8069170910a43a284f0b472553994a7edf89a075 /src/GvimExt
parent7693ec6e8a32787136081a66e0c6e4a620369173 (diff)
downloadvim-git-e6a91fd99467f5259d675047760088efcbaf050e.tar.gz
updated for version 7.2b-019v7.2b.019
Diffstat (limited to 'src/GvimExt')
-rw-r--r--src/GvimExt/gvimext.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/GvimExt/gvimext.cpp b/src/GvimExt/gvimext.cpp
index aa99164b2..d317e2fff 100644
--- a/src/GvimExt/gvimext.cpp
+++ b/src/GvimExt/gvimext.cpp
@@ -205,13 +205,13 @@ null_libintl_gettext(const char *msgid)
}
static char *
-null_libintl_bindtextdomain(const char *domainname, const char *dirname)
+null_libintl_bindtextdomain(const char * /* domainname */, const char * /* dirname */)
{
return NULL;
}
static char *
-null_libintl_textdomain(const char* domainname)
+null_libintl_textdomain(const char* /* domainname */)
{
return NULL;
}
@@ -308,7 +308,7 @@ HINSTANCE g_hmodThisDll = NULL; // Handle to this DLL itself.
// DllMain
//---------------------------------------------------------------------------
extern "C" int APIENTRY
-DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
+DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID /* lpReserved */)
{
switch (dwReason)
{
@@ -438,7 +438,7 @@ STDMETHODIMP CShellExtClassFactory::CreateInstance(LPUNKNOWN pUnkOuter,
}
-STDMETHODIMP CShellExtClassFactory::LockServer(BOOL fLock)
+STDMETHODIMP CShellExtClassFactory::LockServer(BOOL /* fLock */)
{
return NOERROR;
}
@@ -520,9 +520,9 @@ STDMETHODIMP_(ULONG) CShellExt::Release()
// It could be a context menu or a property sheet.
//
-STDMETHODIMP CShellExt::Initialize(LPCITEMIDLIST pIDFolder,
+STDMETHODIMP CShellExt::Initialize(LPCITEMIDLIST /* pIDFolder */,
LPDATAOBJECT pDataObj,
- HKEY hRegKey)
+ HKEY /* hRegKey */)
{
// Initialize can be called more than once
if (m_pDataObj)
@@ -562,8 +562,8 @@ STDMETHODIMP CShellExt::Initialize(LPCITEMIDLIST pIDFolder,
STDMETHODIMP CShellExt::QueryContextMenu(HMENU hMenu,
UINT indexMenu,
UINT idCmdFirst,
- UINT idCmdLast,
- UINT uFlags)
+ UINT /* idCmdLast */,
+ UINT /* uFlags */)
{
UINT idCmd = idCmdFirst;
@@ -718,11 +718,11 @@ STDMETHODIMP CShellExt::InvokeCommand(LPCMINVOKECOMMANDINFO lpcmi)
return hr;
}
-STDMETHODIMP CShellExt::PushToWindow(HWND hParent,
- LPCSTR pszWorkingDir,
- LPCSTR pszCmd,
- LPCSTR pszParam,
- int iShowCmd,
+STDMETHODIMP CShellExt::PushToWindow(HWND /* hParent */,
+ LPCSTR /* pszWorkingDir */,
+ LPCSTR /* pszCmd */,
+ LPCSTR /* pszParam */,
+ int /* iShowCmd */,
int idHWnd)
{
HWND hWnd = m_hWnd[idHWnd];
@@ -740,9 +740,9 @@ STDMETHODIMP CShellExt::PushToWindow(HWND hParent,
return NOERROR;
}
-STDMETHODIMP CShellExt::GetCommandString(UINT_PTR idCmd,
+STDMETHODIMP CShellExt::GetCommandString(UINT_PTR /* idCmd */,
UINT uFlags,
- UINT FAR *reserved,
+ UINT FAR * /* reserved */,
LPSTR pszName,
UINT cchMax)
{
@@ -841,10 +841,10 @@ searchpath(char *name)
#endif
STDMETHODIMP CShellExt::InvokeGvim(HWND hParent,
- LPCSTR pszWorkingDir,
- LPCSTR pszCmd,
- LPCSTR pszParam,
- int iShowCmd)
+ LPCSTR /* pszWorkingDir */,
+ LPCSTR /* pszCmd */,
+ LPCSTR /* pszParam */,
+ int /* iShowCmd */)
{
char m_szFileUserClickedOn[BUFSIZE];
char cmdStr[BUFSIZE];
@@ -911,10 +911,10 @@ STDMETHODIMP CShellExt::InvokeGvim(HWND hParent,
STDMETHODIMP CShellExt::InvokeSingleGvim(HWND hParent,
- LPCSTR pszWorkingDir,
- LPCSTR pszCmd,
- LPCSTR pszParam,
- int iShowCmd,
+ LPCSTR /* pszWorkingDir */,
+ LPCSTR /* pszCmd */,
+ LPCSTR /* pszParam */,
+ int /* iShowCmd */,
int useDiff)
{
char m_szFileUserClickedOn[BUFSIZE];