Commit cdc8d8ae authored by David Gobbi's avatar David Gobbi

Fix unreachable-code-break warnings.

This is the only class in VTK that raises this warning, so it seems
worthwhile to fix it.

Change-Id: Ieb601c7871e5470f2fd0b8f82e8b55749ef7a893
parent 28e05a3a
......@@ -135,7 +135,7 @@ InitialCausalCoefficient
}
return(c[0] + Sum / (1.0 - zn * zn));
}
break;
/* break; (unecessary because of return) */
case VTK_IMAGE_BORDER_MIRROR:
/* this initialization corresponds to mirror boundaries */
......@@ -167,7 +167,7 @@ InitialCausalCoefficient
}
return(Sum / (1.0 - zn * zn));
}
break;
/* break; (unecessary because of return) */
case VTK_IMAGE_BORDER_REPEAT:
/* this initialization corresponds to periodic boundaries */
......@@ -195,7 +195,7 @@ InitialCausalCoefficient
}
return(Sum / (1.0 - zn));
}
break;
/* break; (unecessary because of return) */
}
return(0.0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment