remove unused var

This commit is contained in:
ehouse 2004-07-10 17:42:16 +00:00
parent d51014a45e
commit ee16a0f07f
2 changed files with 0 additions and 4 deletions

View file

@ -41,13 +41,11 @@ LRESULT CALLBACK
PasswdDlg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) PasswdDlg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{ {
PasswdDialogState* pState; PasswdDialogState* pState;
CEAppGlobals* globals;
XP_U16 id; XP_U16 id;
if ( message == WM_INITDIALOG ) { if ( message == WM_INITDIALOG ) {
SetWindowLong( hDlg, GWL_USERDATA, lParam ); SetWindowLong( hDlg, GWL_USERDATA, lParam );
pState = (PasswdDialogState*)lParam; pState = (PasswdDialogState*)lParam;
globals = pState->globals;
nameToLabel( hDlg, pState->name, IDC_PWDLABEL ); nameToLabel( hDlg, pState->name, IDC_PWDLABEL );
@ -55,7 +53,6 @@ PasswdDlg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
} else { } else {
pState = (PasswdDialogState*)GetWindowLong( hDlg, GWL_USERDATA ); pState = (PasswdDialogState*)GetWindowLong( hDlg, GWL_USERDATA );
if ( !!pState ) { if ( !!pState ) {
globals = pState->globals;
switch ( message ) { switch ( message ) {
case WM_COMMAND: case WM_COMMAND:

View file

@ -24,7 +24,6 @@
#include "cemain.h" #include "cemain.h"
typedef struct PasswdDialogState { typedef struct PasswdDialogState {
CEAppGlobals* globals;
const XP_UCHAR* name; const XP_UCHAR* name;
XP_UCHAR* buf; XP_UCHAR* buf;
XP_U16* lenp; XP_U16* lenp;