From 30689dd1c8cc5aa5c83d643dc0e8c51a2b62bbf9 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Mon, 2 Sep 2019 17:45:12 +0200 Subject: [PATCH] remove unnecessary semicolons --- matlab/reporting/src/@report_series/writeSeriesForTable.m | 2 +- matlab/reporting/src/@report_table/report_table.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/matlab/reporting/src/@report_series/writeSeriesForTable.m b/matlab/reporting/src/@report_series/writeSeriesForTable.m index f6e4d256e..16706503f 100644 --- a/matlab/reporting/src/@report_series/writeSeriesForTable.m +++ b/matlab/reporting/src/@report_series/writeSeriesForTable.m @@ -86,7 +86,7 @@ if ~isempty(o.tableSubSectionHeader) fprintf(fid, ' &'); end fprintf(fid, '\\\\%%\n'); - return; + return end if o.tableAlignRight fprintf(fid, '\\multicolumn{1}{r}{'); diff --git a/matlab/reporting/src/@report_table/report_table.m b/matlab/reporting/src/@report_table/report_table.m index 8a44e985e..4b8fa1799 100644 --- a/matlab/reporting/src/@report_table/report_table.m +++ b/matlab/reporting/src/@report_table/report_table.m @@ -195,7 +195,7 @@ tf = true; for i=1:length(dcell) if ~(isdates(dcell{i}) && dcell{i}.ndat >= 2) tf = false; - return; + return end end end @@ -235,7 +235,7 @@ tf = true; for i=1:length(dcell) if ~isdates(dcell{i}) tf = false; - return; + return end end end