mpr: Remove unused variables

Andrew Talbot andrew.talbot at talbotville.com
Mon Apr 21 16:23:15 CDT 2008


Changelog:
    mpr: Remove unused variables.

diff --git a/dlls/mpr/nps.c b/dlls/mpr/nps.c
index 2f75674..f8a1433 100644
--- a/dlls/mpr/nps.c
+++ b/dlls/mpr/nps.c
@@ -76,14 +76,10 @@ static INT_PTR WINAPI NPS_ProxyPasswordDialog(
     case WM_COMMAND:
         if( wParam == IDOK )
         {
-            WCHAR username[0x20], password[0x20];
-
-            username[0] = 0;
             hitem = GetDlgItem( hdlg, IDC_USERNAME );
             if( hitem )
                 GetWindowTextA( hitem, lpAuthDlgStruct->lpUsername, lpAuthDlgStruct->cbUsername );
-            
-            password[0] = 0;
+
             hitem = GetDlgItem( hdlg, IDC_PASSWORD );
             if( hitem )
                 GetWindowTextA( hitem, lpAuthDlgStruct->lpPassword, lpAuthDlgStruct->cbPassword );



More information about the wine-patches mailing list