diff --git a/xwords4/wince/ceaskpwd.c b/xwords4/wince/ceaskpwd.c index 56dc22324..3d9a20d6a 100755 --- a/xwords4/wince/ceaskpwd.c +++ b/xwords4/wince/ceaskpwd.c @@ -41,13 +41,11 @@ LRESULT CALLBACK PasswdDlg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { PasswdDialogState* pState; - CEAppGlobals* globals; XP_U16 id; if ( message == WM_INITDIALOG ) { SetWindowLong( hDlg, GWL_USERDATA, lParam ); pState = (PasswdDialogState*)lParam; - globals = pState->globals; nameToLabel( hDlg, pState->name, IDC_PWDLABEL ); @@ -55,7 +53,6 @@ PasswdDlg(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) } else { pState = (PasswdDialogState*)GetWindowLong( hDlg, GWL_USERDATA ); if ( !!pState ) { - globals = pState->globals; switch ( message ) { case WM_COMMAND: diff --git a/xwords4/wince/ceaskpwd.h b/xwords4/wince/ceaskpwd.h index 70363f169..e6b29f6c1 100755 --- a/xwords4/wince/ceaskpwd.h +++ b/xwords4/wince/ceaskpwd.h @@ -24,7 +24,6 @@ #include "cemain.h" typedef struct PasswdDialogState { - CEAppGlobals* globals; const XP_UCHAR* name; XP_UCHAR* buf; XP_U16* lenp;