Removed noops and warnings on unused variables.
parent
c6297ec333
commit
c3852c4743
|
@ -53,7 +53,7 @@ namespace AssimpView {
|
|||
INT_PTR CALLBACK HelpDialogProc(HWND hwndDlg,UINT uMsg,
|
||||
WPARAM wParam,LPARAM lParam)
|
||||
{
|
||||
lParam;
|
||||
(void)lParam;
|
||||
switch (uMsg)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
|
@ -70,7 +70,6 @@ INT_PTR CALLBACK HelpDialogProc(HWND hwndDlg,UINT uMsg,
|
|||
SendDlgItemMessage(hwndDlg,IDC_RICHEDIT21,
|
||||
EM_SETTEXTEX,(WPARAM)&sInfo,( LPARAM) pData);
|
||||
|
||||
UnlockResource(hg);
|
||||
FreeResource(hg);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ static const char* AI_VIEW_RTF_LOG_HEADER =
|
|||
INT_PTR CALLBACK LogDialogProc(HWND hwndDlg,UINT uMsg,
|
||||
WPARAM wParam,LPARAM lParam)
|
||||
{
|
||||
lParam;
|
||||
(void)lParam;
|
||||
switch (uMsg)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
|
|
|
@ -872,12 +872,10 @@ int CreateHUDTexture()
|
|||
g_pcTexture = NULL;
|
||||
g_szImageMask = NULL;
|
||||
|
||||
UnlockResource(hg);
|
||||
FreeResource(hg);
|
||||
return 0;
|
||||
}
|
||||
|
||||
UnlockResource(hg);
|
||||
FreeResource(hg);
|
||||
|
||||
D3DSURFACE_DESC sDesc;
|
||||
|
@ -909,12 +907,10 @@ int CreateHUDTexture()
|
|||
D3DCOLOR_ARGB(0xFF,0xFF,0,0));
|
||||
g_szImageMask = NULL;
|
||||
|
||||
UnlockResource(hg);
|
||||
FreeResource(hg);
|
||||
return 0;
|
||||
}
|
||||
|
||||
UnlockResource(hg);
|
||||
FreeResource(hg);
|
||||
|
||||
// lock the texture and copy it to get a pointer
|
||||
|
|
Loading…
Reference in New Issue