Skip to content

Commit e745265

Browse files
[[ UninitialisedVars ]] Remove commented-out code, fix wrong success check in MCHandleLibUrlSetSSLVerification
1 parent 8a54373 commit e745265

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

engine/src/mblhandlers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6685,7 +6685,7 @@ Exec_stat MCHandleLibUrlSetSSLVerification(void *context, MCParameter *p_paramet
66856685
if (t_success)
66866686
MCMiscExecLibUrlSetSSLVerification(ctxt, t_enabled);
66876687

6688-
if (!ctxt . HasError() & t_success)
6688+
if (t_success && !ctxt . HasError())
66896689
return ES_NORMAL;
66906690

66916691
return ES_ERROR;

engine/src/mbliphonemail.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ static void compose_mail_prewait(void *p_context)
470470
t_data = [[NSData alloc] initWithBytes: nil length: 0];
471471
else if (ctxt -> attachments[i] . data != nil)
472472
t_data = [NSData dataWithMCDataRef: ctxt -> attachments[i] . data];
473-
else // ctxt -> attachments[i] . file != nil
473+
else
474474
{
475475
MCAssert(ctxt -> attachments[i] . file != nil);
476476
MCAutoStringRef t_resolved_path;

revbrowser/src/revbrowser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1812,7 +1812,7 @@ void XBrowserSetProp(char *args[], int nargs, char **retstring, Bool *pass, Bool
18121812
return;
18131813
}
18141814
}
1815-
else // nargs == 2
1815+
else
18161816
{
18171817
MCAssert(nargs == 2);
18181818
t_browser = s_browsers . GetActiveInstance();

0 commit comments

Comments
 (0)