mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-09 01:14:51 -04:00
Silence all compiler warnings from QtCreator.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3306 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+4
-2
@@ -35,7 +35,8 @@ int killbyname(const char *szToTerminate)
|
||||
HANDLE hProc,hSnapShot,hSnapShotm;
|
||||
OSVERSIONINFO osvi;
|
||||
HINSTANCE hInstLib;
|
||||
int iLen,iLenP,indx;
|
||||
// int iLen,iLenP,indx;
|
||||
int iLenP,indx;
|
||||
HMODULE hMod;
|
||||
PROCESSENTRY32 procentry;
|
||||
MODULEENTRY32 modentry;
|
||||
@@ -116,7 +117,8 @@ int killbyname(const char *szToTerminate)
|
||||
// Now, get the process name
|
||||
if(hProc) {
|
||||
if(lpfEnumProcessModules(hProc,&hMod,sizeof(hMod),&iCbneeded) ) {
|
||||
iLen=lpfGetModuleBaseName(hProc,hMod,szName,MAX_PATH);
|
||||
// iLen=lpfGetModuleBaseName(hProc,hMod,szName,MAX_PATH);
|
||||
lpfGetModuleBaseName(hProc,hMod,szName,MAX_PATH);
|
||||
}
|
||||
}
|
||||
CloseHandle(hProc);
|
||||
|
||||
Reference in New Issue
Block a user