simplify
This commit is contained in:
@@ -747,16 +747,15 @@ bool CrashDialog::HandleMessage( UINT msg, WPARAM wParam, LPARAM lParam )
|
|||||||
if( sError.empty() && sResult.empty() )
|
if( sError.empty() && sResult.empty() )
|
||||||
sError = "No data received";
|
sError = "No data received";
|
||||||
|
|
||||||
|
SAFE_DELETE( m_pPost );
|
||||||
|
|
||||||
if( !sError.empty() )
|
if( !sError.empty() )
|
||||||
{
|
{
|
||||||
SetDialogInitial();
|
SetDialogInitial();
|
||||||
SetWindowText( GetDlgItem(hDlg, IDC_MAIN_TEXT), ERROR_SENDING_REPORT.GetValue() );
|
SetWindowText( GetDlgItem(hDlg, IDC_MAIN_TEXT), ERROR_SENDING_REPORT.GetValue() );
|
||||||
SAFE_DELETE( m_pPost );
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
SAFE_DELETE( m_pPost );
|
|
||||||
|
|
||||||
PARSEINFO pi;
|
PARSEINFO pi;
|
||||||
XNode xml;
|
XNode xml;
|
||||||
xml.Load( sResult, &pi );
|
xml.Load( sResult, &pi );
|
||||||
|
|||||||
Reference in New Issue
Block a user