From 5df16dfd3522c2d1c4fdf7ed28f9efefc1b64df5 Mon Sep 17 00:00:00 2001
From: JohnD <john.donoghue@ieee.org>
Date: Fri, 4 May 2018 08:41:26 -0400
Subject: [PATCH] remove 'break' statement from switch statements (Bug #51510)
* inst/sbn/Mcapacitors.m, inst/sbn/Mcurrentsources.m,
inst/sbn/Mdiode.m, inst/sbn/Mnmosfet.m, inst/sbn/Mpmosfet.m,
inst/sbn/Mresistors.m, inst/sbn/Mshichmanhodgesmosfet.m,
inst/sbn/Mvoltagesources.m: remove break; from switch statements
inst/sbn/Mcapacitors.m | 6 +-----
inst/sbn/Mcurrentsources.m | 2 --
inst/sbn/Mdiode.m | 3 ---
inst/sbn/Mnmosfet.m | 2 --
inst/sbn/Mpmosfet.m | 3 ---
inst/sbn/Mresistors.m | 5 -----
inst/sbn/Mshichmanhodgesmosfet.m | 7 +------
inst/sbn/Mvoltagesources.m | 8 ++------
8 files changed, 4 insertions(+), 32 deletions(-)
diff --git a/inst/sbn/Mcapacitors.m b/inst/sbn/Mcapacitors.m
index fdb22b1..7c3784e 100644
--- inst/sbn/Mcapacitors.m
+++ inst/sbn/Mcapacitors.m
@@ -72,7 +72,6 @@ function [a,b,c] = Mcapacitors(string,parameters,parameternames,extvar,intvar,t)
a = [0 0 1; 0 0 -1; 0 0 0];
b = [0 0 0;0 0 0;-C C 1];
@@ -83,8 +82,6 @@ function [a,b,c] = Mcapacitors(string,parameters,parameternames,extvar,intvar,t)
b = [zeros(n) zeros(n); -C eye(n)];
@@ -111,7 +108,6 @@ function [a,b,c] = Mcapacitors(string,parameters,parameternames,extvar,intvar,t)
a = [0 0 1; 0 0 -1; 0 0 0];
b = [0 0 0;0 0 0;C -C -1];
error (["unknown section:" string])
@@ -175,4 +171,4 @@ function [Q,C]=Mnmoscap(tbulk,tox,Area,Vg,Na,Nnodes,toll,maxit);
\ No newline at end of file
diff --git a/inst/sbn/Mcurrentsources.m b/inst/sbn/Mcurrentsources.m
index 707aa75..e65078c 100644
--- inst/sbn/Mcurrentsources.m
+++ inst/sbn/Mcurrentsources.m
@@ -71,7 +71,6 @@ function [a,b,c] = Mcurrentsources (string,parameters,parameternames,extvar,intv