mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
remove unused var
This commit is contained in:
parent
d51014a45e
commit
ee16a0f07f
2 changed files with 0 additions and 4 deletions
|
@ -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:
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue