On 11/12/06, <b class="gmail_sendername">Paul Vriens</b> <<a href="mailto:paul.vriens.wine@gmail.com">paul.vriens.wine@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>hResource16 is not used.<br><br>Will fix Coverity-17.<br><br>Changelog<br> Remove unused variable<br><br>Cheers,<br><br>Paul.<br>---<br> dlls/comdlg32/fontdlg16.c | 3 +--<br> 1 files changed, 1 insertions(+), 2 deletions(-)
<br><br>diff --git a/dlls/comdlg32/fontdlg16.c b/dlls/comdlg32/fontdlg16.c<br>index 4b13c2d..c5f11df 100644<br>--- a/dlls/comdlg32/fontdlg16.c<br>+++ b/dlls/comdlg32/fontdlg16.c<br>@@ -164,7 +164,7 @@ INT16 WINAPI FontStyleEnumProc16( SEGPTR
<br> BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16 lpChFont)<br> {<br> HINSTANCE16 hInst;<br>- HANDLE16 hDlgTmpl16 = 0, hResource16 = 0;<br>+ HANDLE16 hDlgTmpl16 = 0;<br> HGLOBAL16 hGlobal16 = 0;<br> BOOL16 bRet = FALSE;
<br> LPVOID template;<br>@@ -255,7 +255,6 @@ BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT1<br> hInst = GetWindowLongPtrA(HWND_32(lpChFont->hwndOwner), GWLP_HINSTANCE);<br> bRet = DialogBoxIndirectParam16(hInst, hDlgTmpl16, lpChFont->hwndOwner,
<br> (DLGPROC16) ptr, (DWORD)lpChFont);<br>- if (hResource16) FreeResource16(hDlgTmpl16);<br> if (hGlobal16)<br> {<br> GlobalUnlock16(hGlobal16);<br>--<br><a href="http://1.4.3.5">1.4.3.5
</a></blockquote><div><br>Forget this one as I'm not sure whether hDlgTmpl16 needs to be freed.<br><br>Cheers,<br><br>Paul.<br></div><br></div><br>