Andrew Talbot : mpr: Remove unused variables.
Alexandre Julliard
julliard at winehq.org
Tue Apr 22 06:47:20 CDT 2008
Module: wine
Branch: master
Commit: 0739567dac835395f800fff093cc183689e4a8ae
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0739567dac835395f800fff093cc183689e4a8ae
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Mon Apr 21 22:23:15 2008 +0100
mpr: Remove unused variables.
---
dlls/mpr/nps.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
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-cvs
mailing list