Fix a lot of MinGW/GCC warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6168 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e918dd8a27
commit
cf4e5cf132
31 changed files with 92 additions and 87 deletions
|
@ -1211,7 +1211,9 @@ int NSISCALL TreeGetSelectedSection(HWND tree, BOOL mouse)
|
|||
ht.pt.y = GET_Y_LPARAM(dwpos);
|
||||
ScreenToClient(tree, &ht.pt);
|
||||
|
||||
TreeView_HitTest(tree, &ht);
|
||||
{
|
||||
const HTREEITEM UNUSED hDummy1 = TreeView_HitTest(tree, &ht);
|
||||
}
|
||||
|
||||
#ifdef NSIS_CONFIG_COMPONENTPAGE_ALTERNATIVE
|
||||
if (!(ht.flags & TVHT_ONITEMSTATEICON))
|
||||
|
@ -1293,7 +1295,9 @@ static BOOL CALLBACK SelProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
hImageList = ImageList_Create(16,16, ILC_COLOR32|ILC_MASK, 6, 0);
|
||||
ImageList_AddMasked(hImageList,hBMcheck1,RGB(255,0,255));
|
||||
|
||||
TreeView_SetImageList(hwndTree1, hImageList, TVSIL_STATE);
|
||||
{
|
||||
const HIMAGELIST UNUSED hDummy1 = TreeView_SetImageList(hwndTree1, hImageList, TVSIL_STATE);
|
||||
}
|
||||
|
||||
if (TreeView_GetItemHeight(hwndTree1) < 16)
|
||||
TreeView_SetItemHeight(hwndTree1, 16);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue